aboutsummaryrefslogtreecommitdiffstats
path: root/main/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'main/gettext')
-rw-r--r--main/gettext/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index 395f8e4299..161aa87597 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gettext
pkgver=0.18.1.1
-pkgrel=4
+pkgrel=5
pkgdesc="GNU locale utilities"
url="http://www.gnu.org/software/gettext/gettext.html"
arch="all"
@@ -12,7 +12,7 @@ makedepends="$depends_dev bash"
source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-$pkgver.tar.gz
gettext-uclibc.patch
"
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev libintl"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -43,5 +43,12 @@ package() {
make -j1 DESTDIR="$pkgdir/" install
}
+libintl() {
+ replaces="gettext"
+ mkdir -p "$subpkgdir"/usr/lib
+
+ mv "$pkgdir"/usr/lib/libintl.so.* "$subpkgdir"/usr/lib
+}
+
md5sums="3dd55b952826d2b32f51308f2f91aa89 gettext-0.18.1.1.tar.gz
cbf6444e7c8ad3aa70b2b80f8fcb6016 gettext-uclibc.patch"