wok-next diff wavpack/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 23c3aed67cd9
children 10df65db91ad
line diff
     1.1 --- a/wavpack/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/wavpack/receipt	Fri Apr 13 07:14:16 2018 +0300
     1.3 @@ -1,34 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="wavpack"
     1.8 -VERSION="4.60.1"
     1.9 +VERSION="5.1.0"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Auto compression format with lossless, lossy, and hybrid compression modes."
    1.12 +SHORT_DESC="Hybrid Lossless Audio Compression"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="BSD"
    1.15 +WEB_SITE="http://www.wavpack.com/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.wavpack.com"
    1.19 -WGET_URL="$WEB_SITE/$TARBALL"
    1.20 +WGET_URL="http://www.wavpack.com/$TARBALL"
    1.21  
    1.22 -DEPENDS="glibc-base"
    1.23 +SPLIT="wavpack-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--infodir=/usr/share/info \
    1.32 -		--mandir=/usr/share/man \
    1.33 -		$CONFIGURE_ARGS &&
    1.34 -	make && make DESTDIR=$DESTDIR install
    1.35 +	./configure $CONFIGURE_ARGS && make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 +	case $PACKAGE in
    1.45 +		wavpack) copy @std;;
    1.46 +		*-dev) copy @dev;;
    1.47 +	esac
    1.48  }
    1.49 -