summaryrefslogtreecommitdiff
path: root/repo/gettext/gettext.xibuild
blob: 8da13a5f95e57f9f98e845509c48925cdf2e6c28 (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
25
26
27
#!/bin/sh

MAKEDEPS="make"
DEPS="acl sh"

PKG_VER=0.3.2
SOURCE=https://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-$PKG_VER.tar.xz
DESC="Lightweight replacement for tools used in the GNU gettext suite"

ADDITIONAL="
	line-length.patch
	respect-cflags.patch
	flip-macro-logic.patch
    fix-xgettext-version-string.patch
"

prepare () {
    apply_patches
}

build () {
    LIBINTL=MUSL prefix=/usr make 
}

package () {
    make LIBINTL=MUSL prefix=/usr DESTDIR=$PKG_DEST install 
}