Added libnl-1.1 build template.
--HG-- extra : convert_revision : 95cb9458373f0bd96a691f9d80225c9f17a7a7f0
This commit is contained in:
parent
008857bfcf
commit
ba7aa8922e
5 changed files with 45 additions and 0 deletions
1
templates/libnl-devel
Symbolic link
1
templates/libnl-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libnl
|
10
templates/libnl/build.diff
Normal file
10
templates/libnl/build.diff
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- include/netlink-local.h.orig 2008-01-14 16:48:45.000000000 +0100
|
||||
+++ include/netlink-local.h 2009-06-26 11:15:33.186011844 +0200
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <inttypes.h>
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
2
templates/libnl/depends
Normal file
2
templates/libnl/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=1.1
|
||||
api_depends=${abi_depends}
|
16
templates/libnl/devel.template
Normal file
16
templates/libnl/devel.template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'libnl-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libnl
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
16
templates/libnl/template
Normal file
16
templates/libnl/template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'libnl'
|
||||
pkgname=libnl
|
||||
version=1.1
|
||||
distfiles="ftp://ftp.archlinux.org/other/libnl/${pkgname}-${version}.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="Library for applications dealing with netlink sockets"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3
|
||||
long_desc="
|
||||
libnl is a library for applications dealing with netlink sockets.
|
||||
The library provides an interface for raw netlink messaging and various
|
||||
netlink family specific interfaces."
|
||||
|
||||
subpackages="devel"
|
||||
|
||||
Add_dependency full glibc
|
Loading…
Reference in a new issue