summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild17
-rw-r--r--gettext-dev.pkg/install2
-rw-r--r--gettext.pkg/install1
3 files changed, 10 insertions, 10 deletions
diff --git a/build b/build
index 7dd9f47..ab98c88 100755
--- a/build
+++ b/build
@@ -1,16 +1,17 @@
#! /usr/bin/make -f
-gettext gettext-doc: gettext.buildstamp
+gettext gettext-dev gettext-doc: gettext.buildstamp
.SILENT: gettext.buildstamp
gettext.buildstamp:
- cd src && \
- gettext-runtime/configure --prefix=/usr \
+ cd src/gettext-runtime && \
+ ./configure --prefix=/usr \
--enable-threads --disable-java && \
- make && make DESTDIR=$$(pwd)/../dest install
-# oh-strip -gl /usr/lib/
- oh-installfiles gettext gettext-doc
+ 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-doc
- oh-buildopk gettext gettext-doc
+ oh-gencontrol gettext gettext-dev gettext-doc
+ oh-buildopk gettext gettext-dev gettext-doc
touch gettext.buildstamp
diff --git a/gettext-dev.pkg/install b/gettext-dev.pkg/install
index 87ebdda..79da711 100644
--- a/gettext-dev.pkg/install
+++ b/gettext-dev.pkg/install
@@ -1,4 +1,4 @@
-/usr/share/man/man1
+/usr/share/man/man3
/usr/include
/usr/lib/libasprintf.a
/usr/lib/libasprintf.la
diff --git a/gettext.pkg/install b/gettext.pkg/install
index 0c07f69..9dbcc7b 100644
--- a/gettext.pkg/install
+++ b/gettext.pkg/install
@@ -1,4 +1,3 @@
/usr/bin
-/usr/lib
/usr/share/locale
/usr/lib/libasprintf.so*