wok rev 21932

updated soundtouch and soundtouch-dev (1.5.0 -> 2.1.2)
author Hans-G?nter Theisgen
date Sun Oct 06 16:14:23 2019 +0100 (2019-10-06)
parents e7a161a764c6
children 79be06fd31b1
files soundtouch-dev/receipt soundtouch/receipt
line diff
     1.1 --- a/soundtouch-dev/receipt	Sun Oct 06 15:31:03 2019 +0100
     1.2 +++ b/soundtouch-dev/receipt	Sun Oct 06 16:14:23 2019 +0100
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="soundtouch-dev"
     1.7 -VERSION="1.5.0"
     1.8 +VERSION="2.1.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for soundtouch"
    1.11 +SHORT_DESC="Development files for soundtouch."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.surina.net/soundtouch/"
    1.15 -WANTED="soundtouch"
    1.16 +WEB_SITE="https://www.surina.net/soundtouch/"
    1.17  
    1.18  DEPENDS="soundtouch pkg-config"
    1.19 +WANTED="soundtouch"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.29 +	mkdir -p $fs/usr/lib
    1.30 +	mkdir -p $fs/usr/share
    1.31 +
    1.32 +	cp -a $install/usr/include		$fs/usr
    1.33 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.34 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.35 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.36 +
    1.37  	# Upstream changed pkgconfig filename
    1.38 -	ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc
    1.39 +#	ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc
    1.40  }
     2.1 --- a/soundtouch/receipt	Sun Oct 06 15:31:03 2019 +0100
     2.2 +++ b/soundtouch/receipt	Sun Oct 06 16:14:23 2019 +0100
     2.3 @@ -1,30 +1,37 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="soundtouch"
     2.7 -VERSION="1.5.0"
     2.8 +VERSION="2.1.2"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="An audio processing library"
    2.11 +SHORT_DESC="An audio processing library."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="LGPL2.1"
    2.14 -WEB_SITE="http://www.surina.net/soundtouch/"
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WGET_URL="$WEB_SITE/$TARBALL"
    2.17 +WEB_SITE="https://www.surina.net/soundtouch/"
    2.18 +
    2.19 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.20 +WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$TARBALL"
    2.21  
    2.22  DEPENDS="gcc-lib-base"
    2.23 -BUILD_DEPENDS="libtool automake"
    2.24 +BUILD_DEPENDS="automake libtool"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	sed -i 's|/doc/|/share&|' Makefile*
    2.30 -	patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
    2.31 -	./configure --enable-shared $CONFIGURE_ARGS && make && make install
    2.32 +#	sed -i 's|/doc/|/share&|' Makefile*
    2.33 +#	patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
    2.34 +	./configure		\
    2.35 +		--prefix=/usr	\
    2.36 +		--enable-shared	\
    2.37 +		$CONFIGURE_ARGS &&
    2.38 +	make &&
    2.39 +	make install
    2.40  }
    2.41  
    2.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.43  genpkg_rules()
    2.44  {
    2.45  	mkdir -p $fs/usr/lib
    2.46 -	cp -a $install/usr/bin $fs/usr
    2.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.48 +
    2.49 +	cp -a $install/usr/bin		$fs/usr
    2.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.51  }