Files
haikuports/dev-libs/libiconv/libiconv-1.13.bep

48 lines
1.5 KiB
Plaintext

DESCRIPTION="libiconv"
HOMEPAGE="http://www.gnu.org/software/libiconv/"
SRC_URI="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz"
CHECKSUM_MD5="7ab33ebd26687c744a37264a330bbe9a"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd libiconv-1.13.1
rm -rf aclocal.m4
ln -sf /boot/common/bin/autoconf /boot/common/bin/autoconf-2.63
ln -sf /boot/common/bin/autoheader /boot/common/bin/autoheader-2.63
ln -sf /boot/common/bin/aclocal /boot/common/bin/aclocal-1.11
cp /boot/common/share/aclocal/libtool.m4 m4
cp /boot/common/share/aclocal/ltoptions.m4 m4
cp /boot/common/share/aclocal/ltversion.m4 m4
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.ac"
cp -r /boot/common/share/libtool m4
libtoolize --force --copy --install
aclocal -I m4 -I srcm4
autoconf
autoheader
cd libcharset
cp /boot/common/share/aclocal/libtool.m4 m4
cp /boot/common/share/aclocal/ltoptions.m4 m4
cp /boot/common/share/aclocal/ltversion.m4 m4
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.ac"
libtoolize --force --copy --install
cp -r /boot/common/share/libtool m4
libtoolize --force --copy --install
aclocal -I m4
autoconf
autoheader
cd ..
./configure --prefix=/boot/common --enable-relocatable --enable-shared --enable-static
make
}
INSTALL {
cd libiconv-1.13.1
make install
make check
}