2008-10-24 05:47:41 +02:00
|
|
|
# Template build file for 'gettext'.
|
|
|
|
pkgname=gettext
|
|
|
|
version=0.17
|
2010-01-10 14:27:11 +01:00
|
|
|
revision=1
|
2009-03-18 10:02:43 +01:00
|
|
|
distfiles="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2008-10-24 05:47:41 +02:00
|
|
|
build_style=gnu_configure
|
2009-03-18 10:02:43 +01:00
|
|
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
2009-02-19 02:37:06 +01:00
|
|
|
--disable-libasprintf"
|
2008-10-24 05:47:41 +02:00
|
|
|
short_desc="Internationalized Message Handling Library and tools"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=209638bb8e162f22c281145a34e220c66f1f6e9ff5e4c50c6f2ef2ded59537ba
|
|
|
|
long_desc="
|
|
|
|
GNU gettext provides the necessary tools and libraries for handling
|
|
|
|
messages in different languages, as one of the steps to
|
|
|
|
internationalisation (or i18n) of a utility."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel $pkgname-libs"
|
2010-01-10 14:27:11 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run ncurses-libs
|
|
|
|
Add_dependency run gettext-libs
|
|
|
|
Add_dependency run libgomp
|
|
|
|
Add_dependency build ncurses-devel
|
2010-04-22 07:24:46 +02:00
|
|
|
Add_dependency build diffutils
|
2010-04-22 11:43:34 +02:00
|
|
|
|
|
|
|
post_configure()
|
|
|
|
{
|
|
|
|
# Disable ACL.
|
|
|
|
sed -i 's@#define.*_ACL.*@/*&*/@g' ${wrksrc}/gettext-tools/config.h
|
|
|
|
for f in $(find ${wrksrc} -name Makefile); do
|
|
|
|
sed -i 's@-lacl@@g' ${f}
|
|
|
|
done
|
|
|
|
}
|