diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/perl-xml-simple | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/perl-xml-simple')
-rw-r--r-- | main/perl-xml-simple/APKBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/perl-xml-simple/APKBUILD b/main/perl-xml-simple/APKBUILD new file mode 100644 index 0000000000..74d2ecbe19 --- /dev/null +++ b/main/perl-xml-simple/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=perl-xml-simple +pkgver=2.18 +pkgrel=0 +pkgdesc="Simple XML parser for perl" +url="http://search.cpan.org/dist/XML-Simple/" +license="PerlArtistic" +subpackages="$pkgname-doc" +depends="perl-xml-parser perl" +makedepends="perl-dev" +source="ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$pkgver.tar.gz" + +build () +{ + cd "$srcdir"/XML-Simple-$pkgver + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name 'perllocal.pod' -delete +} +md5sums="593aa8001e5c301cdcdb4bb3b63abc33 XML-Simple-2.18.tar.gz" |