mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
libcppunit: mark -examples package as noarch and fix license=
This commit is contained in:
parent
86789013cd
commit
3e1f5a2c47
1 changed files with 7 additions and 5 deletions
|
@ -1,25 +1,25 @@
|
||||||
# Template file for 'libcppunit'
|
# Template file for 'libcppunit'
|
||||||
pkgname=libcppunit
|
pkgname=libcppunit
|
||||||
version=1.14.0
|
version=1.14.0
|
||||||
revision=1
|
revision=2
|
||||||
|
wrksrc="cppunit-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config automake libtool"
|
hostmakedepends="pkg-config automake libtool"
|
||||||
short_desc="C++ unit testing framework"
|
short_desc="C++ unit testing framework"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1-or-later"
|
||||||
# Also see https://mmohrhard.wordpress.com/2017/05/01/cppunit-1-14-released/
|
# Also see https://mmohrhard.wordpress.com/2017/05/01/cppunit-1-14-released/
|
||||||
homepage="http://cppunit.sourceforge.net"
|
homepage="http://cppunit.sourceforge.net"
|
||||||
distfiles="http://dev-www.libreoffice.org/src/cppunit-${version}.tar.gz"
|
distfiles="http://dev-www.libreoffice.org/src/cppunit-${version}.tar.gz"
|
||||||
checksum=3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780
|
checksum=3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780
|
||||||
wrksrc="cppunit-$version"
|
replaces="cppunit>=0"
|
||||||
|
|
||||||
LDFLAGS="-dl"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
libcppunit-devel_package() {
|
libcppunit-devel_package() {
|
||||||
|
replaces="cppunit-devel>=0"
|
||||||
depends="libcppunit>=${version}_${revision}"
|
depends="libcppunit>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -32,6 +32,8 @@ libcppunit-devel_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
libcppunit-examples_package() {
|
libcppunit-examples_package() {
|
||||||
|
noarch=yes
|
||||||
|
replaces="cppunit-doc>=0"
|
||||||
depends="libcppunit-devel>=${version}_${revision}"
|
depends="libcppunit-devel>=${version}_${revision}"
|
||||||
short_desc+=" - examples"
|
short_desc+=" - examples"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue