wok-next diff apulse/receipt @ rev 21084

Add librefox
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 14:44:32 2018 +0200 (2018-12-25)
parents 342b30daff76
children
line diff
     1.1 --- a/apulse/receipt	Fri Jun 01 00:47:43 2018 +0300
     1.2 +++ b/apulse/receipt	Tue Dec 25 14:44:32 2018 +0200
     1.3 @@ -1,29 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="apulse"
     1.8 -VERSION="0.1.5"
     1.9 +VERSION="0.1.12"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="PulseAudio emulator for Alsa"
    1.12  MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="https://github.com/i-rinat/apulse"
    1.15 -TARBALL="v$VERSION.tar.gz"
    1.16 -WGET_URL="$WEB_SITE/archive/$TARBALL"
    1.17 -SUGGESTED="skype"
    1.18  
    1.19 -DEPENDS="alsa-lib glib"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.22 +
    1.23  BUILD_DEPENDS="cmake alsa-lib-dev glib-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -        mv  $src/* ../
    1.29 -        cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
    1.30 -        make && make install
    1.31 +compile_rules() {
    1.32 +	mkdir build
    1.33 +	cd    build
    1.34 +
    1.35 +	cmake \
    1.36 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.37 +		-DCMAKE_BUILD_TYPE=Release \
    1.38 +		.. &&
    1.39 +	make &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -        cp -a $install/* $fs
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="alsa-lib glib"
    1.50 +	SUGGESTED="skype"
    1.51  }