summaryrefslogtreecommitdiffstats
path: root/extra/libnl/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:16:54 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:16:54 +0200
commited5322011b01b3971430f3fb26d6bb199f714d89 (patch)
treea155fca91a95111f6c9e06d3b2522ac270d28f27 /extra/libnl/Pkgfile
parent98f68eb7c1ae70b86850b56ecdf1baa62b024752 (diff)
downloadnutyx-extra-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.gz
nutyx-extra-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.bz2
nutyx-extra-ed5322011b01b3971430f3fb26d6bb199f714d89.tar.xz
nutyx-extra-ed5322011b01b3971430f3fb26d6bb199f714d89.zip
Ajout de libnl#1.1-1
Diffstat (limited to 'extra/libnl/Pkgfile')
-rw-r--r--extra/libnl/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libnl/Pkgfile b/extra/libnl/Pkgfile
new file mode 100644
index 000000000..c335d1474
--- /dev/null
+++ b/extra/libnl/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Librairie pour des application utilisants des sockets
+# URL: http://people.suug.ch/~tgr/libnl
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=libnl
+version=1.1
+release=1
+source=(http://people.suug.ch/~tgr/$name/files/$name-$version.tar.gz\
+ libnl-1.pc 01-missing_declaration.patch gcc43.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../01-missing_declaration.patch
+ patch -Np1 -i ../gcc43.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ install -D -m0644 ../libnl-1.pc $PKG/usr/lib/pkgconfig/libnl-1.pc
+
+}