mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 09:14:21 +03:00
16 lines
765 B
Bash
Executable File
16 lines
765 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libiconv
|
|
version=1.16
|
|
useconfigure=true
|
|
configopts=("--enable-shared" "--disable-nls")
|
|
files="https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz libiconv-${version}.tar.gz e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04"
|
|
auth_type="sha256"
|
|
use_fresh_config_sub=true
|
|
config_sub_paths=("build-aux/config.sub" "libcharset/build-aux/config.sub")
|
|
|
|
install() {
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
|
run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,-soname,libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.la
|
|
}
|