From dc8e5ec0a58e861e56e01e5f444248a3b1104c83 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 20 Apr 2010 11:42:39 +0000 Subject: main/mlmmj: added package() function --- main/mlmmj/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'main') diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD index 96649fd6b6..6ac4d1620f 100644 --- a/main/mlmmj/APKBUILD +++ b/main/mlmmj/APKBUILD @@ -1,19 +1,24 @@ # Maintainer: Natanael Copa pkgname=mlmmj pkgver=1.2.16 -pkgrel=0 +pkgrel=1 pkgdesc="Mailing list managing made joyful" url="http://mlmmj.org/" license="MIT" subpackages="$pkgname-doc" -depends="uclibc" +depends= +makedepends= source="http://mlmmj.mmj.dk/files/$pkgname-$pkgver.tar.bz2 " build() { cd "$srcdir"/$pkgname-$pkgver - configure --prefix=/usr + ./configure --prefix=/usr make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 install -d "$pkgdir"/usr/share/mlmmj/texts cp -r listtexts/* "$pkgdir"/usr/share/mlmmj/texts/ -- cgit v1.2.3