2008-10-24 05:47:41 +02:00
|
|
|
# Template build file for 'gettext'.
|
|
|
|
pkgname=gettext
|
2014-03-14 14:41:36 +01:00
|
|
|
version=0.18.3.1
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-03-18 10:02:43 +01:00
|
|
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
2012-12-27 12:42:00 +01:00
|
|
|
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
|
2013-03-26 09:13:23 +01:00
|
|
|
--disable-openmp"
|
|
|
|
makedepends="ncurses-devel libxml2-devel libcroco-devel acl-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conflicts="chroot-gettext>=0"
|
2008-10-24 05:47:41 +02:00
|
|
|
short_desc="Internationalized Message Handling Library and tools"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-12-27 12:37:02 +01:00
|
|
|
homepage="http://www.gnu.org/software/gettext/"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="http://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-03-14 14:41:36 +01:00
|
|
|
checksum=0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
|
2013-04-12 13:13:49 +02:00
|
|
|
|
2013-07-08 15:32:20 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2013-04-12 13:13:49 +02:00
|
|
|
gettext-devel_package() {
|
|
|
|
depends="gettext-libs>=${version}"
|
2013-07-08 15:19:55 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/doc/gettext
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/gettext
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gettext-libs_package() {
|
2013-07-08 15:19:55 +02:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
2013-07-16 12:59:23 +02:00
|
|
|
vmove "usr/lib/*.so*"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|