summaryrefslogtreecommitdiffstats
path: root/gettext/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 12:35:29 +0100
committerLukc <lukc@upyum.com>2010-12-12 12:35:29 +0100
commitb3fbe036938a8b7ba5932dcc676960acbe913e53 (patch)
treeece9e66a6dccd1d2e660620f42ae387e860ee278 /gettext/Pkgfile
parent79948a2aae8c51931d77e1bb34bba2c09617c3e3 (diff)
downloadbase-b3fbe036938a8b7ba5932dcc676960acbe913e53.tar.gz
base-b3fbe036938a8b7ba5932dcc676960acbe913e53.tar.bz2
base-b3fbe036938a8b7ba5932dcc676960acbe913e53.tar.xz
base-b3fbe036938a8b7ba5932dcc676960acbe913e53.zip
Recette de gettext mise à jour.
Diffstat (limited to 'gettext/Pkgfile')
-rw-r--r--gettext/Pkgfile26
1 files changed, 16 insertions, 10 deletions
diff --git a/gettext/Pkgfile b/gettext/Pkgfile
index 6578321..2983228 100644
--- a/gettext/Pkgfile
+++ b/gettext/Pkgfile
@@ -1,19 +1,25 @@
-description="The GNU internationalization library"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="The GNU internationalization library."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/gettext/"
depends=(ncurses acl)
name=gettext
version=0.18.1.1
release=1
-source=(http://ftp.gnu.org/gnu/gettext/gettext-0.18.1.1.tar.gz)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
build ()
{
- cd $name-$version;
- ./configure --prefix=/usr --mandir=/usr/man --disable-csharp --disable-{,native-}java --disable-nls --without-{emacs,git} --with-included-{glib,libcroco,libxml};
- make;
- make -j1 DESTDIR=$PKG install;
- rm -r $PKG/usr/share/{info,doc};
- rm $PKG/usr/share/gettext/intl/{COPYING*,ChangeLog}
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --disable-csharp \
+ --disable-{,native-}java \
+ --without-{emacs,git} \
+ $(use_enable nls) \
+ --with-included-{glib,libcroco,libxml};
+ make;
+ make -j1 DESTDIR=$PKG install;
+ rm $PKG$prefix/share/gettext/intl/{COPYING*,ChangeLog}
}