wok-next diff rarian/receipt @ rev 19961

Remove libtinfo dep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 17 10:26:48 2017 +0200 (2017-10-17)
parents 10e6c72b2c15
children d43bf7aae921
line diff
     1.1 --- a/rarian/receipt	Sun Aug 11 18:44:25 2013 +0000
     1.2 +++ b/rarian/receipt	Tue Oct 17 10:26:48 2017 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="rarian"
     1.8  VERSION="0.8.1"
     1.9 @@ -10,8 +10,8 @@
    1.10  WEB_SITE="http://rarian.freedesktop.org/"
    1.11  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.12  
    1.13 -DEPENDS="libxslt"
    1.14  BUILD_DEPENDS="libxslt-dev"
    1.15 +SPLIT="rarian-dev"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -32,11 +32,14 @@
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib $fs/usr/share/librarian
    1.24 -	cp -a $install/usr/bin $fs/usr
    1.25 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.26 -	cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
    1.27 -	cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
    1.28 -	cp -a $install/var $fs/
    1.29 +	case $PACKAGE in
    1.30 +		rarian)
    1.31 +			copy @std
    1.32 +			DEPENDS="libxslt"
    1.33 +			;;
    1.34 +		rarian-dev)
    1.35 +			copy @dev
    1.36 +			DEPENDS="rarian pkg-config"
    1.37 +			;;
    1.38 +	esac
    1.39  }
    1.40 -