summaryrefslogtreecommitdiffstats
path: root/abs/core/libnl1/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-01-23 23:45:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-01-23 23:45:45 (GMT)
commit879fd1c6e6a0fc060866f810956b00be2d1792cf (patch)
treeab2e1feabcc4112ff6d600dcc04935da07942f02 /abs/core/libnl1/PKGBUILD
parent608387a01077ddd0733a46e47cee06c304bf62e3 (diff)
downloadlinhes_pkgbuild-879fd1c6e6a0fc060866f810956b00be2d1792cf.zip
linhes_pkgbuild-879fd1c6e6a0fc060866f810956b00be2d1792cf.tar.gz
linhes_pkgbuild-879fd1c6e6a0fc060866f810956b00be2d1792cf.tar.bz2
libnl1: needed by ceton usb userspace program
refs #899
Diffstat (limited to 'abs/core/libnl1/PKGBUILD')
-rw-r--r--abs/core/libnl1/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/libnl1/PKGBUILD b/abs/core/libnl1/PKGBUILD
new file mode 100644
index 0000000..7d0c36f
--- /dev/null
+++ b/abs/core/libnl1/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=libnl1
+pkgver=1.1
+pkgrel=1
+pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
+arch=('i686' 'x86_64')
+url="http://www.infradead.org/~tgr/libnl/"
+license=('GPL')
+depends=('glibc')
+source=("http://www.infradead.org/~tgr/libnl/files/libnl-${pkgver}.tar.gz"
+ 'fix-compilation.patch')
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
+ 'e1f5e82c8aa1b3ad025c7b588178de1e')
+
+build() {
+ cd ${srcdir}/libnl-${pkgver}
+ patch -Np1 -i ${srcdir}/fix-compilation.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/libnl-${pkgver}
+ make DESTDIR=${pkgdir} install
+}