diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-06 11:34:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-11-06 11:34:08 +0000 |
commit | 291d6f0a8583363bbaddfab02af0ff99f3ca99e7 (patch) | |
tree | b4d883469d9f8ba0474baadc158ece9c6d740b2b /core/perl | |
parent | 483f1311f4afd480ffef0990e0ba7f4ddb09b8cf (diff) | |
download | aports-291d6f0a8583363bbaddfab02af0ff99f3ca99e7.tar.bz2 aports-291d6f0a8583363bbaddfab02af0ff99f3ca99e7.tar.xz |
core/perl: new aport
Diffstat (limited to 'core/perl')
-rw-r--r-- | core/perl/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/core/perl/APKBUILD b/core/perl/APKBUILD new file mode 100644 index 0000000000..3ece54a1eb --- /dev/null +++ b/core/perl/APKBUILD @@ -0,0 +1,48 @@ +pkgname=perl +pkgver=5.10.0 +pkgrel=0 +pkgdesc="Larry Wall's Practical Extraction and Report Language" +url=http://www.perl.org +license="Artistic GPL-2" +source=http://www.perl.com/CPAN/src/perl-${pkgver}.tar.gz +subpackages="dev doc miniperl" +depends=uclibc + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./Configure -des \ + -Dcccdlflags='-fPIC' \ + -Dcccdlflags='-fPIC' \ + -Dccdlflags='-rdynamic' \ + -Dprefix='/usr' \ + -Dvendorprefix='/usr' \ + -Dsiteprefix='/usr' \ + -Dlocincpth=' ' \ + -Doptimize="${CFLAGS}" \ + -Duselargefiles \ + -Dd_semctl_semun \ + -Dscriptdir=/usr/bin \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dinstallman1dir=/usr/share/man/man1 \ + -Dinstallman3dir=/usr/share/man/man3 \ + -Dman1ext='1' \ + -Dman3ext='3pm' \ + -Dinc_version_list="$inclist" \ + -Dcf_by='Alpine' \ + -Ud_csh \ + -Dusenm \ + || return 1 + + make + make install DESTDIR="$pkgdir" +} + +miniperl() { + pkgname=miniperl + mkdir -p "$subpkgdir"/usr/bin + cp "$srcdir/perl-$pkgver"/miniperl "$subpkgdir/usr/bin" +} + +md5sums="872c3b9f1238c06766733f42087aea24 perl-5.10.0.tar.gz" +md5sums="d2c39b002ebfd2c3c5dba589365c5a71 perl-5.10.0.tar.gz" |