diff options
Diffstat (limited to 'gettext/Pkgfile')
-rw-r--r-- | gettext/Pkgfile | 26 |
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} } |