wok-next diff libiec61883/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents 8f447cf2eee5
children 25deb7c6df08
line diff
     1.1 --- a/libiec61883/receipt	Sat Nov 09 20:47:29 2013 +0000
     1.2 +++ b/libiec61883/receipt	Sat Oct 14 23:27:36 2017 +0200
     1.3 @@ -1,37 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libiec61883"
     1.8  VERSION="1.2.0"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
    1.11 +SHORT_DESC="libiec61883 is a standard defining a high speed serial bus"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -#TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.16 -WEB_SITE="http://www.linux1394.org/"
    1.17 -#WGET_URL="http://www.linux1394.org/dl/$TARBALL"
    1.18 -WGET_URL="http://ftp.debian.org/pool/main/libi/$PACKAGE/$TARBALL"
    1.19 +WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
    1.20  
    1.21 -DEPENDS="libraw1394"
    1.22 -BUILD_DEPENDS="libraw1394 libraw1394-dev"
    1.23 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.24 +WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    1.25 +
    1.26 +BUILD_DEPENDS="libraw1394-dev"
    1.27 +SPLIT="libiec61883-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--mandir=/usr/share/man \
    1.36 -		$CONFIGURE_ARGS &&
    1.37 -	make &&
    1.38 -	make DESTDIR=$DESTDIR install
    1.39 +	./configure $CONFIGURE_ARGS && make && make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/lib $fs/dev
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 +	case $PACKAGE in
    1.49 +		libiec61883)
    1.50 +			copy @std
    1.51 +			DEPENDS="libraw1394"
    1.52 +			;;
    1.53 +		*-dev)
    1.54 +			copy @dev
    1.55 +			DEPENDS="libiec61883 libraw1394-dev"
    1.56 +			;;
    1.57 +	esac
    1.58  }
    1.59 -