From ba7aa8922ec31d356f5515e8d05866f8de24903c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 Oct 2009 09:40:39 +0200 Subject: [PATCH] Added libnl-1.1 build template. --HG-- extra : convert_revision : 95cb9458373f0bd96a691f9d80225c9f17a7a7f0 --- templates/libnl-devel | 1 + templates/libnl/build.diff | 10 ++++++++++ templates/libnl/depends | 2 ++ templates/libnl/devel.template | 16 ++++++++++++++++ templates/libnl/template | 16 ++++++++++++++++ 5 files changed, 45 insertions(+) create mode 120000 templates/libnl-devel create mode 100644 templates/libnl/build.diff create mode 100644 templates/libnl/depends create mode 100644 templates/libnl/devel.template create mode 100644 templates/libnl/template 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