summaryrefslogtreecommitdiff
path: root/user/perl-gd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-gd/APKBUILD')
-rw-r--r--user/perl-gd/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/user/perl-gd/APKBUILD b/user/perl-gd/APKBUILD
index 16c87aa10..6ac163fb6 100644
--- a/user/perl-gd/APKBUILD
+++ b/user/perl-gd/APKBUILD
@@ -1,4 +1,3 @@
-# Automatically generated by apkbuild-cpan, template 1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-gd
@@ -12,7 +11,7 @@ pkgdesc="Perl module for GD graphics library"
url="https://metacpan.org/release/GD"
arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl"
-depends=""
+depends="perl"
makedepends="perl-dev perl-extutils-pkgconfig freetype-dev libgd-dev libjpeg-turbo-dev
libpng-dev libwebp-dev zlib-dev"
subpackages="$pkgname-doc"
@@ -20,7 +19,7 @@ source="http://search.cpan.org/CPAN/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgv
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS="$(perl -MConfig -E 'say $Config{ccflags}')"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}