summaryrefslogtreecommitdiff
path: root/repo/core/gettext.xibuild
blob: e0f6d37059bfb09f048d62215aecb5fe6c102474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DEPS=(acl sh glib2)

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

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

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