diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 10:06:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-07 10:07:19 +0000 |
commit | 3d6c15a1ca26845257b3d40239fa993a45943cd1 (patch) | |
tree | 6bcb4a10a6e42614dae26b3476dec321d27c2b34 | |
parent | 8f051cc4f9c1e7e4308b9a8aff3828c1b6f8dfa6 (diff) | |
download | aports-3d6c15a1ca26845257b3d40239fa993a45943cd1.tar.bz2 aports-3d6c15a1ca26845257b3d40239fa993a45943cd1.tar.xz |
main/freetype: upgrade to 2.3.12
-rw-r--r-- | main/freetype/APKBUILD | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD index f88da34b87..7303e8832b 100644 --- a/main/freetype/APKBUILD +++ b/main/freetype/APKBUILD @@ -1,12 +1,12 @@ # Contributor: Carlo Landmeter <clandmeter at gmail> # Maintainer: Carlo Landmeter <clandmeter at gmail> pkgname=freetype -pkgver=2.3.8 -pkgrel=1 +pkgver=2.3.12 +pkgrel=0 pkgdesc="TrueType font rendering library" url="http://freetype.sourceforge.net" license="GPL" -depends="zlib" +depends= makedepends="zlib-dev" subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz @@ -16,25 +16,32 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 40-memcpy-fix.patch " -build() { - cd "$srcdir/$pkgname-$pkgver" +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + cd "$_builddir" for i in "$srcdir"/*.patch; do msg "Applying ${i}" patch -p0 -i $i || return 1 done +} +build() { + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static make || return 1 - make -j1 DESTDIR="$pkgdir" install +} +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install } -md5sums="ebd7d255fd72b7f86c94501b80c50009 freetype-2.3.8.tar.gz +md5sums="6fc690d9b34154b51a919ff466cea90c freetype-2.3.12.tar.gz 9ff19e742968c29e3ba52b08d6bf0a50 10-bytecode.patch 376b94c06b113a62a3437e4130bb3fc3 20-enable-spr.patch 3f6c5739843dcbc110ee0f243c4f6bdb 30-enable-valid.patch |