summaryrefslogtreecommitdiffstats
path: root/testing/hypermail/APKBUILD
blob: 06ddf011cdeb75d3b090cc2c1e174c444863f7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Michael Mason <ms13sp@gmail.com>
pkgname=hypermail
pkgver=2.1.8
pkgrel=0
pkgdesc="Mail Archiver"
url="http://www.hypermail.org"
license="GPL"
depends="uclibc pcre"
makedepends="pcre-dev bison"
install=
subpackages=""
source="http://www.hypermail.org/dist/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-httpddir=/var/www \
		--with-cgidir=/var/www/cgi-bin
	make || return 1
	#does not understand DESTDIR so going to install ourselves
	#make DESTDIR="$pkgdir" install
	
	install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg
	install -m755 -D archive/msg2archive "$pkgdir"/usr/bin/msgarchive
	install -m755 -D src/hypermail "$pkgdir"/usr/bin/hypermail

}

md5sums="bacd95589f2f3ca426631461fd9237dd  hypermail-2.1.8.tar.gz"