wok-next diff speex/receipt @ rev 19844

sakura -> sakura-gtk2; vte -> vte-gtk2; add sakura, vte; up gtk-engines, lxde, wpa_supplicant.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 25 15:45:11 2017 +0300 (2017-08-25)
parents daa754d4b004
children 0a09c3bcc46b
line diff
     1.1 --- a/speex/receipt	Sat Mar 25 17:39:12 2017 +0200
     1.2 +++ b/speex/receipt	Fri Aug 25 15:45:11 2017 +0300
     1.3 @@ -1,31 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="speex"
     1.8 -VERSION="1.2rc1"
     1.9 +VERSION="1.2.0"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Low bandwith voice codec."
    1.12 +SHORT_DESC="Low bandwith voice codec"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.speex.org/"
    1.17 -WGET_URL="http://downloads.us.xiph.org/releases/$PACKAGE/$TARBALL"
    1.18 +WEB_SITE="https://www.speex.org/"
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21 -DEPENDS="libogg"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 +WGET_URL="http://downloads.us.xiph.org/releases/speex/$TARBALL"
    1.24 +
    1.25  BUILD_DEPENDS="libogg-dev gfortran"
    1.26 +SPLIT="speex-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	./configure $CONFIGURE_ARGS &&
    1.33 -	make && make -j1 install
    1.34 +	./configure $CONFIGURE_ARGS && make && make -j1 install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +	case $PACKAGE in
    1.44 +		speex)
    1.45 +			copy @std
    1.46 +			DEPENDS="libogg"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			;;
    1.51 +	esac
    1.52  }