aboutsummaryrefslogtreecommitdiffstats
path: root/main/gd
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-27 09:25:56 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-27 09:57:00 +0000
commit4e27b41062668ec914c2e4155557deed2cb7c1e4 (patch)
treecf37ef82f04223661596845ea55d8d5ebd95ffd7 /main/gd
parent02d8953418f1bd614d84857e9be38acd2b8c5a6a (diff)
downloadaports-4e27b41062668ec914c2e4155557deed2cb7c1e4.tar.bz2
aports-4e27b41062668ec914c2e4155557deed2cb7c1e4.tar.xz
main/gd: remove xpm support
Diffstat (limited to 'main/gd')
-rw-r--r--main/gd/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index 7fec613cd4..128a0c6cbf 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gd
pkgver=2.2.4
-pkgrel=1
+pkgrel=2
_pkgreal=lib$pkgname
pkgdesc="Library for the dynamic creation of images by programmers"
url="http://libgd.github.io/"
arch="all"
license="custom"
depends=
-makedepends="libpng-dev libjpeg-turbo-dev libwebp-dev libxpm-dev freetype-dev zlib-dev"
+makedepends="bash libpng-dev libjpeg-turbo-dev libwebp-dev freetype-dev zlib-dev"
subpackages="$pkgname-dev $_pkgreal:libs"
source="https://github.com/$_pkgreal/$_pkgreal/releases/download/$pkgname-$pkgver/$_pkgreal-$pkgver.tar.xz
CVE-2016-7568.patch"
@@ -30,9 +30,13 @@ build() {
make || return 1
}
+check() {
+ make -C "$builddir" check
+ return 0
+}
+
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make -C "$builddir" DESTDIR="$pkgdir" install || return 1
}
dev() {