From d7464e683839892098ab1ff58c63e2793fcb7e7b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Feb 2012 10:28:35 +0100 Subject: [PATCH] New package: chroot-gettext-0.18.1.1. --- srcpkgs/chroot-gettext/chroot-gettext.rshlibs | 1 + srcpkgs/chroot-gettext/template | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/chroot-gettext/chroot-gettext.rshlibs create mode 100644 srcpkgs/chroot-gettext/template diff --git a/srcpkgs/chroot-gettext/chroot-gettext.rshlibs b/srcpkgs/chroot-gettext/chroot-gettext.rshlibs new file mode 100644 index 0000000000..631aa1dda4 --- /dev/null +++ b/srcpkgs/chroot-gettext/chroot-gettext.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/chroot-gettext/template b/srcpkgs/chroot-gettext/template new file mode 100644 index 0000000000..5771bfa54d --- /dev/null +++ b/srcpkgs/chroot-gettext/template @@ -0,0 +1,31 @@ +# Template build file for 'chroot-gettext'. +pkgname=chroot-gettext +version=0.18.1.1 +wrksrc="gettext-${version}" +build_wrksrc=gettext-tools +distfiles="http://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.gz" +short_desc="Internationalized Message Handling tools -- for xbps-src use" +maintainer="Juan RP " +checksum=93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9 +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. + + This package is only meant to be used by xbps-src, don't install it manually." + +bootstrap=yes +conflicts="gettext>=0" + +do_configure() { + ./configure --prefix=/usr --disable-shared +} + +do_build() { + make ${makejobs} -C gnulib-lib + make ${makejobs} -C src msgfmt +} + +do_install() { + vinstall src/msgfmt 755 usr/bin +}