2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-10-06 13:11:16 +03:00
|
|
|
port=libiconv
|
|
|
|
version=1.16
|
|
|
|
useconfigure=true
|
2021-09-27 01:16:18 +03:00
|
|
|
configopts=("--enable-shared" "--disable-nls")
|
2021-07-29 15:56:59 +03:00
|
|
|
files="https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz libiconv-${version}.tar.gz e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04"
|
|
|
|
auth_type="sha256"
|
2021-04-14 05:35:01 +03:00
|
|
|
|
|
|
|
install() {
|
2021-09-27 01:16:18 +03:00
|
|
|
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
2021-04-25 09:42:41 +03:00
|
|
|
run ${SERENITY_ARCH}-pc-serenity-gcc -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
|
2021-08-14 12:25:52 +03:00
|
|
|
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.la
|
2021-04-14 05:35:01 +03:00
|
|
|
}
|