wok-next diff libraw1394/receipt @ rev 20133

Up xfce4-settings, xfdesktop
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 31 16:34:48 2017 +0200 (2017-10-31)
parents 8d6f480bf664
children 5841522533ec
line diff
     1.1 --- a/libraw1394/receipt	Sun Nov 10 17:13:06 2013 +0000
     1.2 +++ b/libraw1394/receipt	Tue Oct 31 16:34:48 2017 +0200
     1.3 @@ -1,35 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libraw1394"
     1.8 -VERSION="2.0.7"
     1.9 +VERSION="2.1.2"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus."
    1.12 +SHORT_DESC="IEEE 1394 is a standard defining a high speed serial bus"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="LGPL2.1"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.linux1394.org/"
    1.17 -WGET_URL="http://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    1.18 +WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
    1.19 +
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.21 +WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    1.22 +
    1.23 +SPLIT="libraw1394-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		$CONFIGURE_ARGS &&
    1.33 -	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	./configure $CONFIGURE_ARGS && make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib $fs/dev
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 -	# Dev node
    1.45 -	mknod -m 0666 $fs/dev/raw1394 c 171 0
    1.46 -	chown root.root $fs/dev/raw1394 
    1.47 +	case $PACKAGE in
    1.48 +		libraw1394) copy @std;;
    1.49 +		*-dev)      copy @dev;;
    1.50 +	esac
    1.51  }
    1.52  
    1.53 +# Make device node
    1.54 +post_install_libraw1394() {
    1.55 +	mkdir -p $1/dev
    1.56 +	mknod -m 0666 $1/dev/raw1394 c 171 0
    1.57 +	chown root:root $1/dev/raw1394
    1.58 +}