aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-alien-libgumbo
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-10-09 11:51:43 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-10-09 11:57:10 +0000
commit9cd7e2f9c466a9fe1c61dc85d806e359143b2548 (patch)
tree58b1733e4fec436c8acd83b4b1a3def0e407fb38 /testing/perl-alien-libgumbo
parent37a1249e8ea5e2ea589fc93bab70f9fcbbedd0bc (diff)
downloadaports-9cd7e2f9c466a9fe1c61dc85d806e359143b2548.tar.bz2
aports-9cd7e2f9c466a9fe1c61dc85d806e359143b2548.tar.xz
testing/perl-alien-libgumbo: new aport
Diffstat (limited to 'testing/perl-alien-libgumbo')
-rw-r--r--testing/perl-alien-libgumbo/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/perl-alien-libgumbo/APKBUILD b/testing/perl-alien-libgumbo/APKBUILD
new file mode 100644
index 0000000000..7188a4f5c1
--- /dev/null
+++ b/testing/perl-alien-libgumbo/APKBUILD
@@ -0,0 +1,53 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-alien-libgumbo
+_pkgreal=Alien-LibGumbo
+pkgver=0.02
+pkgrel=0
+pkgdesc="Perl module for Alien-LibGumbo"
+url="http://search.cpan.org/dist/Alien-LibGumbo/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl perl-alien-base"
+cpanmakedepends="perl-module-build perl-alien-base perl-archive-extract
+ perl-path-class libtool autoconf automake"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
+}
+
+build() {
+ ./Build PERL_MM_USE_DEFAULT=1 INSTALLDIRS=vendor || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m0644 -D lib/Alien/LibGumbo.pm \
+ "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo.pm
+ install -m0644 -D blib/lib/Alien/LibGumbo/Install/Files.pm \
+ "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/Install/Files.pm
+ install -m0644 -D blib/lib/Alien/LibGumbo/ConfigData.pm \
+ "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/ConfigData.pm
+ install -m0644 -D blib/lib/auto/share/dist/Alien-LibGumbo/lib/pkgconfig/gumbo.pc \
+ "$pkgdir"/usr/lib/pkgconfig/gumbo.pc
+ install -m0644 -D blib/libdoc/Alien::LibGumbo::ConfigData.3pm \
+ "$pkgdir"/usr/share/man/man3
+
+
+}
+
+md5sums="9dbcfb65d56c17c09082079bbb42848c Alien-LibGumbo-0.02.tar.gz"
+sha256sums="ae4a4ec476dbfe7b9a2ba30041f43e01497c9b6ab761bc88b096a17a156c235f Alien-LibGumbo-0.02.tar.gz"
+sha512sums="bbfac21491382f536aea2ff0c5e4f6b8bbc31a317f42fce75dcd3ced97f3733b9fac19a06807016ee78fbc1b56e0a684469e3349c488610259ffc130224dfb04 Alien-LibGumbo-0.02.tar.gz"