mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
main/hypermail Updated pkg release number and added package() function per ncopa
This commit is contained in:
parent
43edaa3013
commit
02efd3c809
@ -11,10 +11,9 @@ install=
|
||||
subpackages=""
|
||||
source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz
|
||||
mdir2mbox.lua"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
cd "$_builddir"
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
@ -22,14 +21,17 @@ build() {
|
||||
--with-httpddir=/var/www \
|
||||
--with-cgidir=/var/www/cgi-bin
|
||||
make || return 1
|
||||
}
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
|
||||
#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
|
||||
install -m755 -D "$srcdir"/mdir2mbox.lua "$pkgdir"/usr/bin/mdir2mbox.lua
|
||||
|
||||
}
|
||||
|
||||
md5sums="a064e36780ee41409c8c973f9c69927f hypermail-2.2.0.tar.gz
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user