wok-next diff libvorbis/receipt @ rev 19927

gegl: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:53:13 2017 +0200 (2017-10-14)
parents ece91be34a06
children c4e53a39395a
line diff
     1.1 --- a/libvorbis/receipt	Wed Mar 05 23:46:52 2014 +0100
     1.2 +++ b/libvorbis/receipt	Sat Oct 14 23:53:13 2017 +0200
     1.3 @@ -1,37 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libvorbis"
     1.8 -VERSION="1.3.3"
     1.9 +VERSION="1.3.5"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Vorbis base library."
    1.12 +SHORT_DESC="Vorbis base library"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="other"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://www.xiph.org/"
    1.17 -WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20 -DEPENDS="libogg"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="http://downloads.xiph.org/releases/vorbis/$TARBALL"
    1.23 +
    1.24  BUILD_DEPENDS="libogg-dev"
    1.25 +SPLIT="libvorbis-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	./configure \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	./configure $CONFIGURE_ARGS && make && make 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 -
    1.42 -	# The libvorbisenc files should go in libvorbis-enc
    1.43 -	#cp -a $install/usr/lib/libvorbis.so* $fs/usr/lib
    1.44 -	#cp -a $install/usr/lib/libvorbisfile.so* $fs/usr/lib
    1.45 -
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.47 +	case $PACKAGE in
    1.48 +		libvorbis) copy @std; DEPENDS="libogg";;
    1.49 +		*-dev)     copy @dev; DEPENDS="libvorbis libogg-dev";;
    1.50 +	esac
    1.51  }
    1.52 -