diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 11:39:36 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 11:39:36 +0000 |
commit | 9f762b20aac8be1d3ad25d191d0b2f7fcc7e118a (patch) | |
tree | 3b24632390c6c236189cf4c62bb756c9a10f5ea3 /unmaintained/perl-alien-libgumbo | |
parent | 4f7014bb0686ac24ca030455c1d1c681d959973a (diff) | |
download | aports-9f762b20aac8be1d3ad25d191d0b2f7fcc7e118a.tar.bz2 aports-9f762b20aac8be1d3ad25d191d0b2f7fcc7e118a.tar.xz |
unmaintained/perl-alien-libgumbo: moved to unmaintained
Diffstat (limited to 'unmaintained/perl-alien-libgumbo')
-rw-r--r-- | unmaintained/perl-alien-libgumbo/APKBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/unmaintained/perl-alien-libgumbo/APKBUILD b/unmaintained/perl-alien-libgumbo/APKBUILD new file mode 100644 index 0000000000..458ff82b37 --- /dev/null +++ b/unmaintained/perl-alien-libgumbo/APKBUILD @@ -0,0 +1,54 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-alien-libgumbo +_pkgreal=Alien-LibGumbo +pkgver=0.02 +pkgrel=2 +pkgdesc="Perl module for Alien-LibGumbo" +url="http://search.cpan.org/dist/Alien-LibGumbo/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl perl-alien-base gumbo-parser" +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/libdoc/Alien::LibGumbo::ConfigData.3pm \ + "$pkgdir"/usr/share/man/man3 + mkdir -p "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib + ln -s /usr/lib/libgumbo.so.1.0.0 \ + "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so.1 + ln -s /usr/lib/libgumbo.so.1.0.0 \ + "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so +} + +md5sums="9dbcfb65d56c17c09082079bbb42848c Alien-LibGumbo-0.02.tar.gz" +sha256sums="ae4a4ec476dbfe7b9a2ba30041f43e01497c9b6ab761bc88b096a17a156c235f Alien-LibGumbo-0.02.tar.gz" +sha512sums="bbfac21491382f536aea2ff0c5e4f6b8bbc31a317f42fce75dcd3ced97f3733b9fac19a06807016ee78fbc1b56e0a684469e3349c488610259ffc130224dfb04 Alien-LibGumbo-0.02.tar.gz" |