mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Initial .bep for gettext-0.18.1.1-dev, it may or may not be working yet, as this is still a work in process.
This commit is contained in:
52
sys-devel/gettext/gettext-0.18.1.1-dev.bep
Normal file
52
sys-devel/gettext/gettext-0.18.1.1-dev.bep
Normal file
@@ -0,0 +1,52 @@
|
||||
DESCRIPTION="gettext"
|
||||
HOMEPAGE="http://www.gnu.org/software/gettext/"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz"
|
||||
CHECKSUM_MD5="3dd55b952826d2b32f51308f2f91aa89"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd gettext-0.18.1.1/gettext-tools
|
||||
cp -a ../build-aux/. build-aux/.
|
||||
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac
|
||||
libtoolize --force --copy --install
|
||||
cd ..
|
||||
libtoolize --force --copy --install
|
||||
sed -i 's/AC_INIT/AC_INIT([gettext],[0.18.1.1])/' configure.ac
|
||||
./autogen.sh --quick
|
||||
cd gettext-runtime
|
||||
sed -i 's/AC_INIT/AC_INIT([gettext-runtime],[0.18.1.1])/' configure.ac
|
||||
sed -i 's/gl_INIT_PACKAGE/dnl gl_INIT_PACKAGE was here/' configure.ac
|
||||
sed -i 's/gl_WOE32_DLL/dnl gl_WOE32_DLL was here/' configure.ac
|
||||
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac
|
||||
libtoolize --force --copy --install
|
||||
autoconf -Wnone
|
||||
aclocal -I m4 -I gnulib-m4 --install --force
|
||||
libtoolize --force --copy --install
|
||||
autoconf -Wnone
|
||||
export EXTRA_CONF="--disable-java"
|
||||
# export LDFLAGS="-lnetwork -liconv"
|
||||
cd ../gettext-tools
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
cd ../gettext-runtime
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd gettext-0.18.1.1.gettext-tools
|
||||
make install
|
||||
cd ../gettext-0.18.1.1/gettext-runtime
|
||||
make install
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd gettext-0.18.1.1.gettext-tools
|
||||
make check
|
||||
cd ../gettext-0.18.1.1/gettext-runtime
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1998, 2010 Free Software Foundation, Inc."
|
||||
Reference in New Issue
Block a user