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