diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/freetype/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/freetype/APKBUILD')
-rw-r--r-- | main/freetype/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD new file mode 100644 index 0000000000..e7f2a87ffc --- /dev/null +++ b/main/freetype/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Carlo Landmeter <clandmeter at gmail> +# Maintainer: Carlo Landmeter <clandmeter at gmail> +pkgname=freetype +pkgver=2.3.8 +pkgrel=0 +pkgdesc="TrueType font rendering library" +url="http://freetype.sourceforge.net" +license="GPL" +depends="zlib" +makedepends="zlib-dev" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz +10-bytecode.patch +20-enable-spr.patch +30-enable-valid.patch +40-memcpy-fix.patch +" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + for i in "$srcdir"/*.patch; do + msg "Applying ${i}" + patch -p0 -i $i || return 1 + done + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-static + make || return 1 + make -j1 DESTDIR="$pkgdir" install + +} + +md5sums="ebd7d255fd72b7f86c94501b80c50009 freetype-2.3.8.tar.gz +9ff19e742968c29e3ba52b08d6bf0a50 10-bytecode.patch +376b94c06b113a62a3437e4130bb3fc3 20-enable-spr.patch +3f6c5739843dcbc110ee0f243c4f6bdb 30-enable-valid.patch +bd2d808a0c00dcf9f1d1c0a9a8227ad9 40-memcpy-fix.patch" |