wok-next diff cppunit/receipt @ rev 20303

gnustep-back: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 11:17:33 2017 +0100 (2017-11-10)
parents 8f50006d2661
children 835b3b8ce6ac
line diff
     1.1 --- a/cppunit/receipt	Fri Mar 10 14:31:18 2017 +0200
     1.2 +++ b/cppunit/receipt	Fri Nov 10 11:17:33 2017 +0100
     1.3 @@ -1,30 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cppunit"
     1.8  VERSION="1.12.1"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="A C++ unit testing framework."
    1.11 +SHORT_DESC="A C++ unit testing framework"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://sourceforge.net/projects/cppunit/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://cppunit.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="gfortran doxygen coreutils-path"
    1.21 +SPLIT="cppunit-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		$CONFIGURE_ARGS &&
    1.30 -	make && make install
    1.31 +	./configure $CONFIGURE_ARGS && make && make install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	mkdir -p $fs/usr/lib
    1.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 +	case $PACKAGE in
    1.40 +		cppunit) copy @std;;
    1.41 +		*-dev)   copy @dev;;
    1.42 +	esac
    1.43  }