New package: libcppunit-1.12.1
This commit is contained in:
parent
934885ceae
commit
15347873ed
|
@ -0,0 +1,15 @@
|
||||||
|
--- src/cppunit/Makefile.am
|
||||||
|
+++ src/cppunit/Makefile.am
|
||||||
|
@@ -63,5 +63,11 @@
|
||||||
|
|
||||||
|
libcppunit_la_LDFLAGS= \
|
||||||
|
-no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||||
|
- -release $(LT_RELEASE)
|
||||||
|
+ -release $(LT_RELEASE) @LIBADD_DL@
|
||||||
|
|
||||||
|
+TESTS = t_link
|
||||||
|
+
|
||||||
|
+check_PROGRAMS = t_link
|
||||||
|
+
|
||||||
|
+t_link_SOURCES = t_link.cpp
|
||||||
|
+t_link_LDADD = libcppunit.la
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'libcppunit'
|
||||||
|
pkgname=libcppunit
|
||||||
|
version=1.12.1
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="pkg-config autoconf automake libtool"
|
||||||
|
short_desc="C++ unit testing framework"
|
||||||
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
license="LGPL"
|
||||||
|
homepage="http://cppunit.sourceforge.net"
|
||||||
|
distfiles="http://downloads.sourceforge.net/cppunit/cppunit-$version.tar.gz"
|
||||||
|
checksum=ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a
|
||||||
|
wrksrc="cppunit-$version"
|
||||||
|
make_build_args="LDFLAGS=-ldl"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -i
|
||||||
|
libtoolize -f
|
||||||
|
}
|
||||||
|
|
||||||
|
libcppunit-devel_package() {
|
||||||
|
depends="libcppunit>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove /usr/bin/cppunit-config
|
||||||
|
vmove /usr/share/man/man1/cppunit-config.1
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue