diff --git a/srcpkgs/libdill-devel b/srcpkgs/libdill-devel new file mode 120000 index 00000000000..64c35873d0e --- /dev/null +++ b/srcpkgs/libdill-devel @@ -0,0 +1 @@ +libdill \ No newline at end of file diff --git a/srcpkgs/libdill/template b/srcpkgs/libdill/template new file mode 100644 index 00000000000..a1e677577bd --- /dev/null +++ b/srcpkgs/libdill/template @@ -0,0 +1,31 @@ +# Template file for 'libdill' +pkgname=libdill +version=1.1 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Structured concurrency library for C" +maintainer="Tai Chi Minh Ralph Eastwood " +license="MIT" +homepage="http://libdill.org/" +distfiles="https://github.com/sustrik/libdill/archive/${version}.tar.gz" +checksum=f1e933ca4d05840dae3f854bc514b2b4ea6756d2d3bbcca681081e98aed6d01a + +pre_configure() { + export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}" + autoreconf -fi +} +post_install() { + vlicense COPYING +} + +libdill-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}