From e58eb76003d1545000a40639ef90693a63febba9 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 15 May 2018 22:08:44 +0200 Subject: main/oidentd: clarify license and improve abuild --- main/oidentd/APKBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'main/oidentd') diff --git a/main/oidentd/APKBUILD b/main/oidentd/APKBUILD index 747cf41436..15683516b1 100644 --- a/main/oidentd/APKBUILD +++ b/main/oidentd/APKBUILD @@ -3,20 +3,19 @@ pkgname=oidentd pkgver=2.0.8 pkgrel=5 -pkgdesc="Configurable IDENT server that supports NAT/IP masq." +pkgdesc="Configurable IDENT server that supports NAT/IP masq" url="http://dev.ojnk.net/" arch="all" -license="GPL" -depends="" -makedepends="" +license="GPL-2.0-only" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/ojnk/$pkgname-$pkgver.tar.gz -fix-inline.patch -oidentd.conf -oidentd.initd -oidentd.confd" - + fix-inline.patch + oidentd.conf + $pkgname.initd + $pkgname.confd + " builddir="$srcdir/$pkgname-$pkgver" + prepare() { default_prepare update_config_sub @@ -24,6 +23,7 @@ prepare() { build() { cd "$builddir" + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,11 +36,12 @@ build() { package() { cd "$builddir" + make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname install -D -m644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf - } sha512sums="86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288 oidentd-2.0.8.tar.gz -- cgit v1.2.3