aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-20 19:46:18 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-21 07:02:56 +0000
commitfd520371b808f540edaa961143f62c9148c62267 (patch)
treec9ed5cbe5aed8779bb91c18b6281c15927d13edb
parentcff9f7188ef2ac594d5bc30340f658a7b074e1b7 (diff)
downloadaports-fd520371b808f540edaa961143f62c9148c62267.tar.gz
aports-fd520371b808f540edaa961143f62c9148c62267.tar.bz2
aports-fd520371b808f540edaa961143f62c9148c62267.tar.xz
main/libnfnetlink: rebuild for providing pc:libnfnetlink
-rw-r--r--main/libnfnetlink/APKBUILD32
1 files changed, 10 insertions, 22 deletions
diff --git a/main/libnfnetlink/APKBUILD b/main/libnfnetlink/APKBUILD
index 20754494f1..bdc86e2364 100644
--- a/main/libnfnetlink/APKBUILD
+++ b/main/libnfnetlink/APKBUILD
@@ -2,32 +2,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfnetlink
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="low-level library for netfilter related kernel/userspace communication"
url="http://www.netfilter.org/projects/libnfnetlink/"
arch="all"
-license="GPL-2.0"
-depends=""
+license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-dev"
source="https://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2
musl-fix-includes.patch
"
-_builddir="$srcdir/$pkgname-$pkgver"
-
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
@@ -35,18 +28,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="98927583d2016a9fb1936fed992e2c5e libnfnetlink-1.0.1.tar.bz2
-0217b463039b4970578653a157a7b71e musl-fix-includes.patch"
-sha256sums="f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a libnfnetlink-1.0.1.tar.bz2
-dfa76f1ebc8ad475266176f7a2c4835c60419df727054bb2095008e356bd91c6 musl-fix-includes.patch"
sha512sums="2ec2cd389c04e21c8a02fb3f6d6f326fc33ca9589577f1739c23d883fe2ee9feaa16e83b6ed09063ad886432e49565dc3256277d035260aca5aab17954b46104 libnfnetlink-1.0.1.tar.bz2
fc452e2924fa4de66e104229bc05a663c253148fb1c0bd62e5454a907877ffb084ba6a04e38bf4ef71a4e58041f4a242001a8029aefbe97ccc00e3bfcb7bba41 musl-fix-includes.patch"