summaryrefslogtreecommitdiff
path: root/repo/system/gettext.xibuild
blob: 05f6fb7ac2afc5b82549b408a34a83eabe98d827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

MAKEDEPS=(make )
DEPS=(acl sh glib)

PKG_VER=0.21
SOURCE=https://ftp.gnu.org/pub/gnu/gettext/gettext-$PKG_VER.tar.gz
DESC="GNU internationalization library"

build () {
    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-$PKG_VER
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install 
    chmod -v 0755 $PKG_DEST/usr/lib/preloadable_libintl.so
}