diff options
author | William Pitcock <nenolod@dereferenced.org> | 2010-12-20 14:29:12 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2010-12-21 08:39:39 -0600 |
commit | 54fc45c66ca0c183d8e8aced05ec15683dfaa818 (patch) | |
tree | 518eb6fa57141d1113bbf3d55443854dbad73584 /testing/agg/APKBUILD | |
parent | b8442abd679f4db5f9982f7b31684b4c63e1a2a2 (diff) | |
download | aports-54fc45c66ca0c183d8e8aced05ec15683dfaa818.tar.bz2 aports-54fc45c66ca0c183d8e8aced05ec15683dfaa818.tar.xz |
testing/agg: move agg to testing/agg.
Diffstat (limited to 'testing/agg/APKBUILD')
-rw-r--r-- | testing/agg/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/agg/APKBUILD b/testing/agg/APKBUILD new file mode 100644 index 000000000..d3e950b15 --- /dev/null +++ b/testing/agg/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net> +# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net> +pkgname=agg +pkgver=2.5 +pkgrel=0 +pkgdesc="A Rendering Engine for C++" +url="http://antigrain.org/" +license="GPL" +depends="libx11 freetype sdl" +makedepends="automake libx11-dev freetype-dev sdl-dev uclibc++-dev" +install= +arch="x86 x86_64" +subpackages="$pkgname-dev" +source="http://www.antigrain.com/$pkgname-$pkgver.tar.gz + agg-2.4-depends.patch + agg-2.5-pkgconfig.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd $_builddir + for i in "$srcdir"/*.patch; do + msg "Applying ${i}" + patch -Np1 -i "$i" || return 1 + done +} + +build() { + cd "$_builddir" + sh ./autogen.sh + ./configure --prefix=/usr --disable-static || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="0229a488bc47be10a2fee6cf0b2febd6 agg-2.5.tar.gz +22f8e48c137d25038181c86d5e40b110 agg-2.4-depends.patch +43a19a7b1564c591e56c8d09a0fd8da5 agg-2.5-pkgconfig.patch" |