From 6d276e08c2face23ab11980bc46e9c5ba28d2c9d Mon Sep 17 00:00:00 2001 From: ojab Date: Sat, 20 Apr 2013 19:05:11 +0400 Subject: [PATCH] New package: dotconf-1.3 --- common/shlibs | 1 + srcpkgs/dotconf-devel | 1 + srcpkgs/dotconf/template | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/dotconf-devel create mode 100644 srcpkgs/dotconf/template diff --git a/common/shlibs b/common/shlibs index 3139369b802..ec2e8016c84 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1226,3 +1226,4 @@ librumpnet_sockin.so.0 netbsd-rumpkernel-20130321_1 librumpnet_net.so.0 netbsd-rumpkernel-20130321_1 librumpnet.so.0 netbsd-rumpkernel-20130321_1 librumpkern_sys_linux.so.0 netbsd-rumpkernel-20130321_1 +libdotconf.so.0 dotconf-1.3_1 diff --git a/srcpkgs/dotconf-devel b/srcpkgs/dotconf-devel new file mode 120000 index 00000000000..9bdfca6a538 --- /dev/null +++ b/srcpkgs/dotconf-devel @@ -0,0 +1 @@ +dotconf \ No newline at end of file diff --git a/srcpkgs/dotconf/template b/srcpkgs/dotconf/template new file mode 100644 index 00000000000..5031f737917 --- /dev/null +++ b/srcpkgs/dotconf/template @@ -0,0 +1,33 @@ +# Template build file for 'dotconf'. +pkgname=dotconf +version=1.3 +revision=1 +build_style=gnu-configure +wrksrc=williamh-${pkgname}-4cd7b3a +hostmakedepends="automake libtool" +short_desc="A C library for parsing configuration files" +maintainer="ojab " +license="LGPL2.1" +homepage="https://github.com/williamh/dotconf" +checksum=d7c5eab8e9785ea0186676f0ccc4261e196b7559943030f869169eb748d34178 +distfiles="https://github.com/williamh/${pkgname}/tarball/v${version}" + +pre_configure() { + autoreconf -i +} + +dotconf_package() { + pkg_install() { + vmove all + } +} + +dotconf-devel_package() { + short_desc="${short_desc} -- development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + } +} \ No newline at end of file