check: added a -devel subpkg; use ${SOURCEFORGE_SITE}.

This commit is contained in:
Juan RP 2014-02-24 12:33:03 +01:00
parent b86a59e9d6
commit d1d6b6dcda
3 changed files with 16 additions and 2 deletions

View file

@ -1474,3 +1474,4 @@ libgwengui-gtk2.so.0 gwenhywfar-gtk-4.10.0beta_1
libgwengui-cpp.so.0 gwenhywfar-4.10.0beta_1
libaqbanking.so.34 aqbanking-5.0.25_1
libxmlsec1.so.1 xmlsec1-1.2.19_1
libcheck.so.0 check-0.9.12_1

1
srcpkgs/check-devel Symbolic link
View file

@ -0,0 +1 @@
check

View file

@ -1,11 +1,23 @@
# Template build file for "check"
pkgname=check
version=0.9.12
revision=1
revision=2
build_style=gnu-configure
short_desc="Unit Testing Framework for C"
maintainer="Jan S. <jan.schreib@gmail.com>"
homepage="check.sourceforge.net"
license="LGPL"
distfiles="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3
check-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}