diff --git a/srcpkgs/CUnit-devel b/srcpkgs/CUnit-devel new file mode 120000 index 00000000000..cd42858e4b1 --- /dev/null +++ b/srcpkgs/CUnit-devel @@ -0,0 +1 @@ +CUnit \ No newline at end of file diff --git a/srcpkgs/CUnit/template b/srcpkgs/CUnit/template new file mode 100644 index 00000000000..f142f9ee64c --- /dev/null +++ b/srcpkgs/CUnit/template @@ -0,0 +1,37 @@ +# Template file for 'CUnit' +pkgname=CUnit +version=2.1.3 +revision=1 +_distver="${version%.*}-${version##*.}" +wrksrc="CUnit-${_distver}" +build_style=gnu-configure +configure_args="--disable-console" +hostmakedepends="autoconf automake libtool" +short_desc="Unit Testing Framework for C" +maintainer="Piotr Wójcik " +license="LGPL-2.0-or-later" +homepage="http://cunit.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/cunit/CUnit/${_distver}/CUnit-${_distver}.tar.bz2" +checksum=f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214 + +pre_configure() { + vsed -e 's@./configure@:@' -i bootstrap + sh bootstrap . +} + +post_install() { + mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share +} + +CUnit-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/share/man/man3 + vmove usr/share/doc + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/CUnit/update b/srcpkgs/CUnit/update new file mode 100644 index 00000000000..90b1a7c7efd --- /dev/null +++ b/srcpkgs/CUnit/update @@ -0,0 +1 @@ +pattern='(?