diff options
author | prspkt <prspkt@protonmail.com> | 2018-06-09 14:36:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-17 04:43:26 +0000 |
commit | 1078f33167dde52d0cb0be40a6386f3d052c1131 (patch) | |
tree | 1940413f581a6a54bca7602735caadf726914740 /community/libndp | |
parent | 9d7c3036ca32f4cbff79ad92d34bdaff0151d7b8 (diff) | |
download | aports-1078f33167dde52d0cb0be40a6386f3d052c1131.tar.bz2 aports-1078f33167dde52d0cb0be40a6386f3d052c1131.tar.xz |
community/libndp: clarify license, modernize
Diffstat (limited to 'community/libndp')
-rw-r--r-- | community/libndp/APKBUILD | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/community/libndp/APKBUILD b/community/libndp/APKBUILD index 52e9d4372e..a8b360fe1c 100644 --- a/community/libndp/APKBUILD +++ b/community/libndp/APKBUILD @@ -6,7 +6,7 @@ pkgrel=0 pkgdesc="Library for IPv6 Neighbor Discovery Protocol" url="http://libndp.org" arch="all" -license="GPL-2.1" +license="LGPL-2.1-or-later" makedepends="autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/jpirko/libndp/archive/v$pkgver.tar.gz @@ -24,16 +24,15 @@ prepare() { build() { cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --disable-static \ - --libexecdir=/usr/lib \ - || return 1 - make || return 1 + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static \ + --libexecdir=/usr/lib + make } check() { @@ -43,7 +42,7 @@ check() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="9ecaf36656cea8b71b2864eda7e5e2d106c4e861fc7506be9ce309aabee2dfcd695c55f65ae1db4afc1d44cf20b30e1ebf84dbb15d6b39bff5d3833fed57ae19 libndp-1.6.tar.gz |