diff --git a/templates/libnl-devel b/templates/libnl-devel new file mode 120000 index 00000000000..49e285a3f3a --- /dev/null +++ b/templates/libnl-devel @@ -0,0 +1 @@ +libnl \ No newline at end of file diff --git a/templates/libnl/build.diff b/templates/libnl/build.diff new file mode 100644 index 00000000000..f345e844a9c --- /dev/null +++ b/templates/libnl/build.diff @@ -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 + #include + #include ++#include + + #include + #include diff --git a/templates/libnl/depends b/templates/libnl/depends new file mode 100644 index 00000000000..744a52c574c --- /dev/null +++ b/templates/libnl/depends @@ -0,0 +1,2 @@ +abi_depends=1.1 +api_depends=${abi_depends} diff --git a/templates/libnl/devel.template b/templates/libnl/devel.template new file mode 100644 index 00000000000..c9428ff8954 --- /dev/null +++ b/templates/libnl/devel.template @@ -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 +} diff --git a/templates/libnl/template b/templates/libnl/template new file mode 100644 index 00000000000..789631a70f7 --- /dev/null +++ b/templates/libnl/template @@ -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 " +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