summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autopoint.pkg/files2
-rwxr-xr-xbuild14
-rw-r--r--gettext-base.pkg/files5
-rw-r--r--gettext-doc.pkg/files3
-rw-r--r--gettext.pkg/files19
-rw-r--r--libasprintf-dev.pkg/files3
-rw-r--r--libasprintf.0.pkg/files1
-rw-r--r--libgettextpo-dev.pkg/files3
-rw-r--r--libgettextpo.0.pkg/files1
9 files changed, 51 insertions, 0 deletions
diff --git a/autopoint.pkg/files b/autopoint.pkg/files
new file mode 100644
index 0000000..583f845
--- /dev/null
+++ b/autopoint.pkg/files
@@ -0,0 +1,2 @@
+/usr/bin/autopoint
+/usr/share/gettext/archive.dir.tar.xz
diff --git a/build b/build
index 4a5fb98..4c2d40e 100755
--- a/build
+++ b/build
@@ -11,5 +11,19 @@ build:
install: build
oh-autoinstall
+ # Remove unversioned links to internal libraries.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.so
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.so
+ # Remove GNU Libtool archive files.
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libasprintf.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextlib.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextpo.la
+ rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libgettextsrc.la
+ # Put all documentation files in /usr/share/doc/gettext-base/.
+ mkdir -p dest/usr/share/doc/gettext-base/
+ mv dest/usr/share/doc/*/* dest/usr/share/doc/gettext-base/
+ ln -sf gettext_toc.html dest/usr/share/doc/gettext-base/index.html
+ # Remove GNU Info index.
+ rm -f dest/usr/share/info/dir
oh-strip
oh-installfiles
diff --git a/gettext-base.pkg/files b/gettext-base.pkg/files
new file mode 100644
index 0000000..d4e3c2c
--- /dev/null
+++ b/gettext-base.pkg/files
@@ -0,0 +1,5 @@
+/usr/bin/gettext
+/usr/bin/ngettext
+/usr/bin/envsubst
+/usr/bin/gettext.sh
+/usr/share/locale/*/LC_MESSAGES/gettext-runtime.mo
diff --git a/gettext-doc.pkg/files b/gettext-doc.pkg/files
new file mode 100644
index 0000000..b1fb10c
--- /dev/null
+++ b/gettext-doc.pkg/files
@@ -0,0 +1,3 @@
+/usr/share/doc/gettext-base/
+/usr/share/man/
+/usr/share/info/
diff --git a/gettext.pkg/files b/gettext.pkg/files
new file mode 100644
index 0000000..959a32a
--- /dev/null
+++ b/gettext.pkg/files
@@ -0,0 +1,19 @@
+/usr/bin/gettextize
+/usr/bin/msg*
+/usr/bin/recode-sr-latin
+/usr/bin/xgettext
+/usr/lib/*/gettext/
+/usr/lib/*/libgettextlib-*.so
+/usr/lib/*/libgettextsrc-*.so
+/usr/lib/*/preloadable_libintl.so
+/usr/share/aclocal/
+/usr/share/gettext/ABOUT-NLS
+/usr/share/gettext/config.rpath
+/usr/share/gettext/gettext.h
+/usr/share/gettext/intl/
+/usr/share/gettext/javaversion.class
+/usr/share/gettext/msgunfmt.tcl
+/usr/share/gettext/po/
+/usr/share/gettext/projects/
+/usr/share/gettext/styles/
+/usr/share/locale/*/LC_MESSAGES/gettext-tools.mo
diff --git a/libasprintf-dev.pkg/files b/libasprintf-dev.pkg/files
new file mode 100644
index 0000000..467663d
--- /dev/null
+++ b/libasprintf-dev.pkg/files
@@ -0,0 +1,3 @@
+/usr/lib/*/libasprintf.so
+/usr/lib/*/libasprintf.a
+/usr/include/autosprintf.h
diff --git a/libasprintf.0.pkg/files b/libasprintf.0.pkg/files
new file mode 100644
index 0000000..bb26b3b
--- /dev/null
+++ b/libasprintf.0.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libasprintf.so.*
diff --git a/libgettextpo-dev.pkg/files b/libgettextpo-dev.pkg/files
new file mode 100644
index 0000000..e81b342
--- /dev/null
+++ b/libgettextpo-dev.pkg/files
@@ -0,0 +1,3 @@
+/usr/lib/*/libgettextpo.so
+/usr/lib/*/libgettextpo.a
+/usr/include/gettext-po.h
diff --git a/libgettextpo.0.pkg/files b/libgettextpo.0.pkg/files
new file mode 100644
index 0000000..2016d6e
--- /dev/null
+++ b/libgettextpo.0.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libgettextpo.so.*