From 83f3b2fd58792182537307e12b66d322f381d826 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 25 Aug 2016 10:19:42 +0000 Subject: community/graphicsmagick: moved from testing --- community/graphicsmagick/APKBUILD | 47 ++++++++++++++++++++++++++++++++ testing/graphicsmagick/APKBUILD | 56 --------------------------------------- 2 files changed, 47 insertions(+), 56 deletions(-) create mode 100644 community/graphicsmagick/APKBUILD delete mode 100644 testing/graphicsmagick/APKBUILD diff --git a/community/graphicsmagick/APKBUILD b/community/graphicsmagick/APKBUILD new file mode 100644 index 000000000..5dcb382c6 --- /dev/null +++ b/community/graphicsmagick/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Carlo Landmeter +# Maintainer: Francesco Colista +pkgname=graphicsmagick +pkgver=1.3.24 +pkgrel=1 +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://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/GraphicsMagick-$pkgver.tar.xz" +options="libtool" + +builddir="$srcdir"/GraphicsMagick-$pkgver + +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 +} + +md5sums="40034150f6eaae28a12b6c8f9baa3e5e GraphicsMagick-1.3.24.tar.xz" +sha256sums="52bfbacef4be3fbae756dbfd342e4843d2a446bef96450bfbe2c23ca60e180e0 GraphicsMagick-1.3.24.tar.xz" +sha512sums="d55f8b7d96bc746e2b501ec6315f174f2ab5f6b31a1d138196bf17b506e6d0c2b91ee19f5dd0a2877cd47910aebdcf11158303e90b1b267c6082d462f8548684 GraphicsMagick-1.3.24.tar.xz" diff --git a/testing/graphicsmagick/APKBUILD b/testing/graphicsmagick/APKBUILD deleted file mode 100644 index 3c9549a6c..000000000 --- a/testing/graphicsmagick/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Francesco Colista -pkgname=graphicsmagick -pkgver=1.3.24 -pkgrel=1 -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://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/GraphicsMagick-$pkgver.tar.xz" -options="libtool" - -_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 -} - -md5sums="40034150f6eaae28a12b6c8f9baa3e5e GraphicsMagick-1.3.24.tar.xz" -sha256sums="52bfbacef4be3fbae756dbfd342e4843d2a446bef96450bfbe2c23ca60e180e0 GraphicsMagick-1.3.24.tar.xz" -sha512sums="d55f8b7d96bc746e2b501ec6315f174f2ab5f6b31a1d138196bf17b506e6d0c2b91ee19f5dd0a2877cd47910aebdcf11158303e90b1b267c6082d462f8548684 GraphicsMagick-1.3.24.tar.xz" -- cgit v1.2.3