summaryrefslogtreecommitdiffstats
path: root/build
blob: ab98c88c74eb01f89ac8e10695c019c20be6752d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f

gettext gettext-dev gettext-doc: gettext.buildstamp

.SILENT: gettext.buildstamp
gettext.buildstamp:
	cd src/gettext-runtime && \
		./configure --prefix=/usr \
		--enable-threads --disable-java && \
		make && make DESTDIR=$$(pwd)/../../dest install
	oh-strip -gl /usr/lib/libasprintf.so.0.0.0
	oh-strip -g /usr/bin/gettext /usr/bin/ngettext /usr/bin/envsubst
	oh-installfiles gettext gettext-dev gettext-doc
	oh-installdocs gettext
	oh-gencontrol gettext gettext-dev gettext-doc
	oh-buildopk gettext gettext-dev gettext-doc
	touch gettext.buildstamp