summaryrefslogtreecommitdiffstats
path: root/gettext/Pkgfile.old
blob: 1f49dcd00c04a4afd649df9e1cbf95213c2309ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: The GNU internationalization library
# URL:         http://www.gnu.org/software/gettext/
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  ncurses acl

name=gettext
version=0.18.1.1
release=1
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}
}