mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Initial working .bep file for libiconv-1.13.1
This commit is contained in:
46
dev-libs/libiconv/libiconv-1.13.bep
Normal file
46
dev-libs/libiconv/libiconv-1.13.bep
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user