aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mail-spamassassin/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-02 15:59:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-02 15:59:14 +0000
commit96813504f80856d8d85b390207621e5cbba64a85 (patch)
treebe336c26f16f7fd1e5c5454738c9332da34fb2d1 /main/perl-mail-spamassassin/APKBUILD
parent7d8c4e4bd5d5210290c06168ff835072a0639d01 (diff)
downloadaports-96813504f80856d8d85b390207621e5cbba64a85.tar.bz2
aports-96813504f80856d8d85b390207621e5cbba64a85.tar.xz
main/per-mail-spamassassin: build fixv1.10-branch
Diffstat (limited to 'main/perl-mail-spamassassin/APKBUILD')
-rw-r--r--main/perl-mail-spamassassin/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/main/perl-mail-spamassassin/APKBUILD b/main/perl-mail-spamassassin/APKBUILD
index 6a3c884616..a86c014fde 100644
--- a/main/perl-mail-spamassassin/APKBUILD
+++ b/main/perl-mail-spamassassin/APKBUILD
@@ -3,7 +3,7 @@
pkgname=perl-mail-spamassassin
_realname=Mail-SpamAssassin
pkgver=3.2.5
-pkgrel=0
+pkgrel=1
pkgdesc="Spam detector and markup engine"
url="http://search.cpan.org/~jmason/Mail-SpamAssassin-3.2.5/"
license="unknown"
@@ -12,14 +12,21 @@ perl-mail-spf razor"
makedepends="perl-dev zlib-dev"
install=
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/J/JM/JMASON/$_realname-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/J/JM/JMASON/$_realname-$pkgver.tar.gz
+ spamassassin-3.2.5-DESTDIR.patch
+ "
build() {
cd "$srcdir/$_realname-$pkgver"
-
+ patch -p1 -i ../spamassassin-3.2.5-DESTDIR.patch || return 1
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
}
-md5sums="7fdc1651d0371c4a7f95ac9ae6f828a6 Mail-SpamAssassin-3.2.5.tar.gz"
+md5sums="7fdc1651d0371c4a7f95ac9ae6f828a6 Mail-SpamAssassin-3.2.5.tar.gz
+45885134199c9427add4d9bcb46311cf spamassassin-3.2.5-DESTDIR.patch"