diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-30 18:15:33 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-30 18:15:33 +0200 |
commit | ae09fdaa88c3ba4b1be749488415286a7aec4226 (patch) | |
tree | 07b1752e08b3a9cff47bddbcbcfcc87144de88ce /testing/graphicsmagick | |
parent | 9ac97251bd54ba203858a2e204f44a5197a78b2f (diff) | |
download | aports-ae09fdaa88c3ba4b1be749488415286a7aec4226.tar.bz2 aports-ae09fdaa88c3ba4b1be749488415286a7aec4226.tar.xz |
testing/graphicsmagick: new aport
Diffstat (limited to 'testing/graphicsmagick')
-rw-r--r-- | testing/graphicsmagick/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/graphicsmagick/APKBUILD b/testing/graphicsmagick/APKBUILD new file mode 100644 index 0000000000..7b73e867a4 --- /dev/null +++ b/testing/graphicsmagick/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=graphicsmagick +pkgver=1.3.21 +pkgrel=0 +pkgdesc="Image processing system" +url="http://www.graphicsmagick.org/" +arch="all" +license="MIT" +depends="" +depends_dev="jasper-dev libpng-dev tiff-dev libxml2-dev libwmf-dev" +makedepends="$depends_dev libtool libltdl" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://softlayer-ams.dl.sourceforge.net/project/graphicsmagick/graphicsmagick/$pkgver/GraphicsMagick-$pkgver.tar.xz" + +_builddir="$srcdir"/GraphicsMagick-$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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-shared \ + --disable-static \ + --with-modules \ + --with-threads \ + --with-gs-font-dir=/usr/share/fonts/Type1 \ + --with-quantum-depth=16 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="f86fe89ea413720a3b04c59c8d5271a2 GraphicsMagick-1.3.21.tar.xz" +sha256sums="9045304d991776b6a37e1b45b9b6ef152593ada0d49bc744263565617cbf3c1f GraphicsMagick-1.3.21.tar.xz" +sha512sums="f92cf808293bfb92b2340420380b638942b0d13f13b11818bde26431aceeab6946d90b5c523d2e598fb2293d738ea7dede7c49361e3489aea7a98e1d9ccf9352 GraphicsMagick-1.3.21.tar.xz" |