Initial working .bep file for libiconv-1.13.1

This commit is contained in:
Scott McCreary
2009-11-11 16:43:12 +00:00
parent 69a13ea49d
commit 26281bdc99

View File

@@ -0,0 +1,46 @@
DESCRIPTION="libiconv"
HOMEPAGE="http://www.gnu.org/software/libiconv/"
SRC_URI="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz"
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
}