summaryrefslogtreecommitdiffstats
path: root/main/perl-text-wrapper
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-25 08:35:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-25 08:35:39 +0000
commit4173e01c03de825c7f5da1156ebe76c645f2d3de (patch)
tree2f21b51ec12db7683fd6b0d4d029393920dc0853 /main/perl-text-wrapper
parent1d226b531f5081401a80cca53939e7b7c200540b (diff)
downloadaports-4173e01c03de825c7f5da1156ebe76c645f2d3de.tar.bz2
aports-4173e01c03de825c7f5da1156ebe76c645f2d3de.tar.xz
main/perl-text-wrapper: upgrade to 1.04
Diffstat (limited to 'main/perl-text-wrapper')
-rw-r--r--main/perl-text-wrapper/APKBUILD36
1 files changed, 19 insertions, 17 deletions
diff --git a/main/perl-text-wrapper/APKBUILD b/main/perl-text-wrapper/APKBUILD
index 5e17c6f10..80a10d1c6 100644
--- a/main/perl-text-wrapper/APKBUILD
+++ b/main/perl-text-wrapper/APKBUILD
@@ -1,33 +1,33 @@
+# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-text-wrapper
-pkgver=1.02
+_pkgreal=Text-Wrapper
+pkgver=1.04
pkgrel=0
-pkgdesc="Text::Wrapper perl module"
+pkgdesc="Word wrap text by breaking long lines"
url="http://search.cpan.org/dist/Text-Wrapper/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl"
-makedepends="perl-dev"
-install=""
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/Text-Wrapper-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Text-Wrapper-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -36,4 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="a0cdfe6e9e9627db147b3970d3fcad4d Text-Wrapper-1.02.tar.gz"
+md5sums="85744d27f358fdfc3cc4e79fd04a0448 Text-Wrapper-1.04.tar.gz"
+sha256sums="084d08e48fa37c8e75c9a724e55f7415e54ffa8ec63918ef7aec3494352d571b Text-Wrapper-1.04.tar.gz"
+sha512sums="e3bd9db890bb93136cf7ea8662b50052fee63dc02d47f830628395fa57b589c02ff4e6af70238fcffb9bfb77da02168a46e828e1a61e6b26ed8c660099d72b13 Text-Wrapper-1.04.tar.gz"