wok-next diff libavc1394/receipt @ rev 19936

mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 15 17:04:15 2017 +0200 (2017-10-15)
parents 4904e3d374a9
children 0ec6086e21d6
line diff
     1.1 --- a/libavc1394/receipt	Tue Jun 11 10:41:23 2013 +0200
     1.2 +++ b/libavc1394/receipt	Sun Oct 15 17:04:15 2017 +0200
     1.3 @@ -1,35 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libavc1394"
     1.8  VERSION="0.5.4"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Interface for the 1394 Trade Association AV/C Digital Interface."
    1.11 +SHORT_DESC="Interface for the 1394 Trade Association AV/C Digital Interface"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://sourceforge.net/projects/libavc1394/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://sourceforge.net/projects/libavc1394/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libraw1394"
    1.21  BUILD_DEPENDS="libraw1394-dev"
    1.22 +SPLIT="libavc1394-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--mandir=/usr/share/man \
    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 -	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 +		libavc1394)
    1.45 +			copy @std
    1.46 +			DEPENDS="libraw1394"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			DEPENDS="libavc1394 libraw1394-dev"
    1.51 +			;;
    1.52 +	esac
    1.53  }
    1.54 -