summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:12:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:58:19 +0000
commit1eae45f07c7ccb5f949528ca2e72cce2774a7864 (patch)
treed1a3ea91ecb31d2e488688ddd91d9830b3ff13b2 /testing
parent11aac09cde53a984d862974fb6c5d7fb3799a533 (diff)
downloadaports-1eae45f07c7ccb5f949528ca2e72cce2774a7864.tar.bz2
aports-1eae45f07c7ccb5f949528ca2e72cce2774a7864.tar.xz
testing/harfbuzz: new aport
Text shaping library http://freedesktop.org/wiki/Software/HarfBuzz
Diffstat (limited to 'testing')
-rw-r--r--testing/harfbuzz/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/harfbuzz/APKBUILD b/testing/harfbuzz/APKBUILD
new file mode 100644
index 000000000..ceb1712cb
--- /dev/null
+++ b/testing/harfbuzz/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor:
+# Maintainer:
+pkgname=harfbuzz
+pkgver=0.9.5
+pkgrel=0
+pkgdesc="Text shaping library"
+url="http://freedesktop.org/wiki/Software/HarfBuzz"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev freetype-dev glib-dev icu-dev cairo-dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/harfbuzz-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --disable-static \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make install DESTDIR="$pkgdir" || return 1
+ rm "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="4a1356c5c5dbfdc661f1cf6600df6265 harfbuzz-0.9.5.tar.bz2"