wok-next diff yelp-xsl/receipt @ rev 21687

updated glpi (0.80.7 -> 9.4.6)
author Hans-G?nter Theisgen
date Mon Jun 29 17:11:21 2020 +0100 (2020-06-29)
parents 27faa9329de6
children
line diff
     1.1 --- a/yelp-xsl/receipt	Sun Oct 15 00:34:25 2017 +0200
     1.2 +++ b/yelp-xsl/receipt	Mon Jun 29 17:11:21 2020 +0100
     1.3 @@ -1,30 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="yelp-xsl"
     1.8 -VERSION="3.12.0"
     1.9 +VERSION="3.28.0"
    1.10  CATEGORY="utilities"
    1.11 -LICENSE="GPL2"
    1.12 -SHORT_DESC="The Yelp XSL package contains XSL stylesheets that are used by the Yelp."
    1.13 +LICENSE="GPL2 LGPL2.1 MIT"
    1.14 +SHORT_DESC="XSL stylesheets that are used by the Yelp"
    1.15  MAINTAINER="yuripourre@gmail.com"
    1.16 +WEB_SITE="https://wiki.gnome.org/Apps/Yelp"
    1.17 +HOST_ARCH="any"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20 -WEB_SITE="https://wiki.gnome.org/Apps/Yelp"
    1.21  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.22  
    1.23 -DEPENDS="libxslt itstool intltool"
    1.24  BUILD_DEPENDS="libxslt-dev itstool intltool"
    1.25 +SPLIT="$PACKAGE-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		$CONFIGURE_ARGS &&
    1.33 +compile_rules() {
    1.34 +	./configure $CONFIGURE_ARGS &&
    1.35  	make &&
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	make install || return 1
    1.38 +
    1.39 +	cook_pick_docs README NEWS
    1.40  }
    1.41  
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/share $fs/usr
    1.46 +genpkg_rules() {
    1.47 +	case $PACKAGE in
    1.48 +		yelp-xsl)
    1.49 +			copy @std
    1.50 +			DEPENDS="libxslt itstool intltool"
    1.51 +			;;
    1.52 +		*-dev)
    1.53 +			copy @dev
    1.54 +			;;
    1.55 +	esac
    1.56  }