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/clamsmtp/APKBUILD | |
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/clamsmtp/APKBUILD')
-rw-r--r-- | main/clamsmtp/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/clamsmtp/APKBUILD b/main/clamsmtp/APKBUILD new file mode 100644 index 0000000000..8244254923 --- /dev/null +++ b/main/clamsmtp/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Carlo Landmeter <clandmeter at gmail> +# Maintainer: Carlo Landmeter <clandmeter at gmail> +pkgname=clamsmtp +pkgver=1.10 +pkgrel=3 +pkgdesc="An SMTP Virus Filter" +url="http://memberwebs.com/stef/software/clamsmtp/" +license="as-is" +depends= +makedepends= +install="$pkgname.pre-upgrade $pkgname.post-upgrade" +subpackages="$pkgname-doc" +source="http://memberwebs.com/stef/software/clamsmtp/${pkgname}-${pkgver}.tar.gz + clamsmtpd.confd + clamsmtpd.initd + $install" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + install -Dm644 doc/clamsmtpd.conf "$pkgdir"/etc/clamsmtpd.conf + install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="b068ba6e444859782bbdd88f290c1abf clamsmtp-1.10.tar.gz +e84205681f64c07af9ec5b6a3dd8bc38 clamsmtpd.confd +161baf2fb444b67d8a08fbfe4375a12c clamsmtpd.initd +32e7b12f3a1f4669d080d8cfdb537e78 clamsmtp.pre-upgrade +63c7360d9a0a75433bca461fe819bc49 clamsmtp.post-upgrade" |