From 8de725f1877eae07cfa6db5e2d479d4803926bb9 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Fri, 28 Sep 2018 19:38:28 +0300 Subject: [PATCH] New package: cpptest-1.1.2 --- common/shlibs | 1 + srcpkgs/cpptest-devel | 1 + srcpkgs/cpptest/template | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 120000 srcpkgs/cpptest-devel create mode 100644 srcpkgs/cpptest/template diff --git a/common/shlibs b/common/shlibs index f74b567df6..9a85984313 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3317,3 +3317,4 @@ libOpenCL.so.1 ocl-icd-2.2.12_1 libdleyna-core-1.0.so.5 dleyna-core-0.6.0_1 libdleyna-renderer-1.0.so.1 dleyna-renderer-0.6.0_1 libdleyna-server-1.0.so.1 dleyna-server-0.6.0_1 +libcpptest.so.0 cpptest-1.1.2_1 diff --git a/srcpkgs/cpptest-devel b/srcpkgs/cpptest-devel new file mode 120000 index 0000000000..e52692fa55 --- /dev/null +++ b/srcpkgs/cpptest-devel @@ -0,0 +1 @@ +cpptest \ No newline at end of file diff --git a/srcpkgs/cpptest/template b/srcpkgs/cpptest/template new file mode 100644 index 0000000000..d8aed11012 --- /dev/null +++ b/srcpkgs/cpptest/template @@ -0,0 +1,30 @@ +# Template file for 'cpptest' +pkgname=cpptest +version=1.1.2 +revision=1 +build_style=gnu-configure +build_wrksrc="$pkgname" +hostmakedepends="autoconf automake libtool" +short_desc="C++ Unit Testing Framework" +maintainer="mobinmob " +license="LGPL-2.1-or-later" +homepage="https://github.com/cpptest/cpptest" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" +checksum=9b15cc5b08fa52eaeb5199e214a1a7c5e821240ff8514664710986cb02d60e9b + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING +} +cpptest-devel_package() { + depends="$makedepends cpptest-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/libcpptest.a + } +}