From 28571c1c5e444604c615e2caaf263203f6a85811 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Dec 2014 16:36:55 +0100 Subject: [PATCH] New package: libnih-1.0.3. --- common/shlibs | 3 +++ srcpkgs/libnih-devel | 1 + srcpkgs/libnih/template | 25 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/libnih-devel create mode 100644 srcpkgs/libnih/template diff --git a/common/shlibs b/common/shlibs index cca7819744f..e8882abd16a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1835,3 +1835,6 @@ libloudmouth-1.so.0 loudmouth-1.4.3_1 libtorrent-rasterbar.so.7 libtorrent-rasterbar-0.16.19_1 libcapstone.so.3 capstone-3.0_1 libhavege.so.1 libhaveged-1.9.1_1 +libnih.so.1 libnih-1.0.3_1 +libnih-dbus.so.1 libnih-1.0.3_1 + diff --git a/srcpkgs/libnih-devel b/srcpkgs/libnih-devel new file mode 120000 index 00000000000..9126b2d386f --- /dev/null +++ b/srcpkgs/libnih-devel @@ -0,0 +1 @@ +libnih \ No newline at end of file diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template new file mode 100644 index 00000000000..c6bb5853741 --- /dev/null +++ b/srcpkgs/libnih/template @@ -0,0 +1,25 @@ +# Template file for 'libnih' +pkgname=libnih +version=1.0.3 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="dbus-devel" +short_desc="Small library for C application development" +maintainer="Juan RP " +license="GPL-2" +homepage="https://launchpad.net/libnih" +distfiles="http://launchpad.net/libnih/${version%.*}/${version}/+download/libnih-${version}.tar.gz" +checksum=897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc61f405 + +libnih-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + vmove usr/share/aclocal + } +}