diff options
-rw-r--r-- | user/bcnm/APKBUILD | 21 | ||||
-rw-r--r-- | user/bcnm/bcnm.pc.in | 6 | ||||
-rw-r--r-- | user/bcnm/wpactrl.pc.in | 6 |
3 files changed, 7 insertions, 26 deletions
diff --git a/user/bcnm/APKBUILD b/user/bcnm/APKBUILD index 1a3c6380b..69fc94ef5 100644 --- a/user/bcnm/APKBUILD +++ b/user/bcnm/APKBUILD @@ -1,39 +1,32 @@ -# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=bcnm -pkgver=0.0.1.8 +pkgver=0.0.2.0 pkgrel=0 pkgdesc="Client network manager" url="https://skarnet.org/software/bcnm/" arch="all" options="!check" # No test suite. license="ISC" -_skalibs_version=2.14.3 +_skalibs_version=2.14.4 depends="" makedepends="skalibs-dev>=$_skalibs_version" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" -source="https://skarnet.org/software/bcnm/bcnm-$pkgver.tar.gz - $pkgname.pc.in - wpactrl.pc.in" +source="https://skarnet.org/software/bcnm/bcnm-$pkgver.tar.gz" build() { ./configure \ --enable-shared \ --disable-allstatic \ - --prefix=/usr + --prefix=/usr \ + --with-pkgconfig \ + --enable-pkgconfig make } package() { make DESTDIR="$pkgdir" install - sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc" - sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g;" "$srcdir/wpactrl.pc.in" > "$srcdir/wpactrl.pc" - install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc" - install -D -m 0644 "$srcdir/wpactrl.pc" "$pkgdir/usr/lib/pkgconfig/wpactrl.pc" mkdir -p "$pkgdir/usr/share/doc" cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } -sha512sums="78868ba9f5c58acba1e8283492929164096a9e66ea8fd6fc6b5adb4c81bce78cba96173afb4510daa0e16b79313d0ee9ef790523b062f4ceb181ecdea5973f9a bcnm-0.0.1.8.tar.gz -168127832b78284e4388fa983ea44612e760ca3b5789a863a4a82adb8a75044e006640711a8426d321bb2995425a8cb8e1fb8f788e6d09e5f7b93e55a457fdb6 bcnm.pc.in -ccc46c7a918328236cc5730710a114d06fb91fa6f023f853df70725581469b5b980dc3a5d20046df26393d21b51b4c87f1588cb5fa6cd065b32801a4dfeebb72 wpactrl.pc.in" +sha512sums="826f8f5dce5bc07396c5c8af116c438ad9da0b320e9002e33e3da8f16619f36f2c295f25ef2acbdbf90e241b5887f6d0b51abab5f3f547d5e067378d220913f5 bcnm-0.0.2.0.tar.gz" diff --git a/user/bcnm/bcnm.pc.in b/user/bcnm/bcnm.pc.in deleted file mode 100644 index 710ae09ec..000000000 --- a/user/bcnm/bcnm.pc.in +++ /dev/null @@ -1,6 +0,0 @@ -Name: bcnm -Description: C library to get network interface information -URL: https://skarnet.org/software/bcnm/ -Version: @@VERSION@@ -Requires.private: skalibs >= @@SKALIBS_VERSION@@ -Libs: -lbcnm diff --git a/user/bcnm/wpactrl.pc.in b/user/bcnm/wpactrl.pc.in deleted file mode 100644 index 09b893dc6..000000000 --- a/user/bcnm/wpactrl.pc.in +++ /dev/null @@ -1,6 +0,0 @@ -Name: wpactrl -Description: C Library to control wpa_supplicant -URL: https://skarnet.org/software/bcnm/ -Version: @@VERSION@@ -Requires.private: skalibs >= @@SKALIBS_VERSION@@ -Libs: -lwpactrl |