summaryrefslogtreecommitdiff
path: root/repo/gettext/gettext.xibuild
blob: cc718990e63df949a74eb2a760793225247a4ac9 (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://github.com/sabotage-linux/gettext-tiny/archive/refs/tags/v$PKG_VER.tar.gz
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 
}