wok-next diff iksemel/receipt @ rev 20554

Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 16:49:09 2018 +0300 (2018-04-06)
parents de49f29b101e
children 0ec6086e21d6
line diff
     1.1 --- a/iksemel/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/iksemel/receipt	Fri Apr 06 16:49:09 2018 +0300
     1.3 @@ -1,33 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iksemel"
     1.8  VERSION="1.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="XML parser library for Jabber applications."
    1.11 +SHORT_DESC="XML parser library for Jabber applications"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14  WEB_SITE="http://iksemel.jabberstudio.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://jabberstudio.rediris.es/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="gnutls libgcrypt libgpg-error zlib pkg-config"
    1.20 +SPLIT="iksemel-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	cd $src
    1.26 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.27 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.28 +compile_rules() {
    1.29 +	./configure $CONFIGURE_ARGS &&
    1.30  	make &&
    1.31  	make DESTDIR=$DESTDIR install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr/lib
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.40 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.41 +genpkg_rules() {
    1.42 +	case $PACKAGE in
    1.43 +		iksemel)
    1.44 +			copy @std
    1.45 +			DEPENDS="gnutls libgcrypt libgpg-error zlib"
    1.46 +			;;
    1.47 +		*-dev)
    1.48 +			copy @dev
    1.49 +			;;
    1.50 +	esac
    1.51  }
    1.52 -