diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-15 07:48:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-15 07:48:14 +0000 |
commit | a6fd918095d89dc868eb0bfa9eeb055b891f33db (patch) | |
tree | 6bd0b1c604b95a37b5fdfc5922f5174f1c15ed8f /main/gettext/APKBUILD | |
parent | 6faedcdac2a41f9657d9824f01874878a6a9de64 (diff) | |
download | aports-a6fd918095d89dc868eb0bfa9eeb055b891f33db.tar.bz2 aports-a6fd918095d89dc868eb0bfa9eeb055b891f33db.tar.xz |
main/gettext: use stdlibc++ instead of uclibc++
Diffstat (limited to 'main/gettext/APKBUILD')
-rw-r--r-- | main/gettext/APKBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD index b96a8a99cc..5bb26daaba 100644 --- a/main/gettext/APKBUILD +++ b/main/gettext/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=gettext pkgver=0.17 -pkgrel=2 +pkgrel=3 pkgdesc="GNU locale utilities" url="http://www.gnu.org/software/gettext/gettext.html" license='GPL' @@ -14,24 +14,30 @@ source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-0.17.tar.gz " subpackages="$pkgname-doc $pkgname-dev" -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" for i in ../*.patch; do msg "Applying $i..." patch -p1 < $i || return 1 done +} - export CXX=${CXX_UC:-g++-uc} - +build() { + cd "$_builddir" # http://bugs.gentoo.org/show_bug.cgi?id=81628 export CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" ./configure --prefix=/usr \ --mandir=/usr/share/man \ --disable-static - unset MAKEFLAGS make || return 1 - make DESTDIR="$pkgdir/" install +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir/" install } md5sums="58a2bc6d39c0ba57823034d55d65d606 gettext-0.17.tar.gz |