Mail archive
alpine-aports

[alpine-aports] [PATCH 2/2] testing/crda: new aport

From: Stefan Wagner <stw_at_bit-strickerei.de>
Date: Wed, 27 Apr 2016 18:02:56 +0200

Linux Central Regulatory Domain Agent
http://www.linuxwireless.org/en/developers/Regulatory/CRDA/

ref #3910
---
 testing/crda/01-Makefile-dont-run-ldconfig.patch | 10 ++++++++
 testing/crda/APKBUILD                            | 32 ++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 testing/crda/01-Makefile-dont-run-ldconfig.patch
 create mode 100644 testing/crda/APKBUILD
diff --git a/testing/crda/01-Makefile-dont-run-ldconfig.patch b/testing/crda/01-Makefile-dont-run-ldconfig.patch
new file mode 100644
index 0000000..d1e7477
--- /dev/null
+++ b/testing/crda/01-Makefile-dont-run-ldconfig.patch
_at_@ -0,0 +1,10 @@
+--- a/Makefile	2014-12-11 00:51:29.000000000 +0100
++++ b/Makefile	2016-04-23 03:03:33.785974265 +0200
+_at_@ -127,7 +127,6 @@
+ 	$(NQ) '  INSTALL  libreg'
+ 	$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
+ 	$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
+-	$(Q)ldconfig
+ 
+ %.o: %.c regdb.h $(LIBREG)
+ 	$(NQ) '  CC  ' $_at_
diff --git a/testing/crda/APKBUILD b/testing/crda/APKBUILD
new file mode 100644
index 0000000..bc5d020
--- /dev/null
+++ b/testing/crda/APKBUILD
_at_@ -0,0 +1,32 @@
+# Contributor: Stefan Wagner <stw_at_bit-strickerei.de>
+# Maintainer: Stefan Wagner <stw_at_bit-strickerei.de>
+pkgname=crda
+pkgver=3.18
+pkgrel=0
+pkgdesc="Linux Central Regulatory Domain Agent"
+url="http://www.linuxwireless.org/en/developers/Regulatory/CRDA/"
+arch="all"
+license="GPL"
+depends="wireless-regdb"
+makedepends="linux-headers libnl-dev py-m2crypto libgcrypt-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://kernel.org/pub/software/network/crda/crda-3.18.tar.xz
+	01-Makefile-dont-run-ldconfig.patch"
+
+builddir="$srcdir/$pkgname-$pkgver"
+build() {
+	cd "$builddir"
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+md5sums="0431fef3067bf503dfb464069f06163a  crda-3.18.tar.xz
+412cbf7cc897359b78f468f5b71fb9a3  01-Makefile-dont-run-ldconfig.patch"
+sha256sums="43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf  crda-3.18.tar.xz
+93d1c0ca0c1ef72ffc830033dbce8206695f721615b95b54b1a4afda1457bd7a  01-Makefile-dont-run-ldconfig.patch"
+sha512sums="57ae6309159f396448f052c127f401c2f63d47f4193e87dca231c4b7bbbd7e69b5e5666f356fc76dfc8a6ae58ffa55c3794428d6eb34d9937df77c4276036588  crda-3.18.tar.xz
+c642976b193722c0050c13331a010b466cea8391bb5f945832604a556e274ea1a4b289c78f74ff5d502fae800f18219db3d10ff10c0528eefc5e9443a963640f  01-Makefile-dont-run-ldconfig.patch"
-- 
2.8.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Apr 27 2016 - 18:02:56 GMT