wok-next diff yelp-tools/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 6d812fa6f9cf |
children |
line diff
1.1 --- a/yelp-tools/receipt Fri Jul 25 00:18:42 2014 -0300 1.2 +++ b/yelp-tools/receipt Sat Nov 21 14:32:44 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-tools" 1.8 -VERSION="3.12.0" 1.9 +VERSION="3.28.0" 1.10 CATEGORY="utilities" 1.11 LICENSE="GPL2" 1.12 -SHORT_DESC="Tools to create documentation." 1.13 +SHORT_DESC="Tools to create documentation" 1.14 MAINTAINER="yuripourre@gmail.com" 1.15 +WEB_SITE="https://wiki.gnome.org/Apps/Yelp/Tools" 1.16 +HOST_ARCH="any" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 -WEB_SITE="https://wiki.gnome.org/Apps/Yelp/Tools" 1.20 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.21 1.22 -DEPENDS="" 1.23 -BUILD_DEPENDS="yelp-xsl" 1.24 +BUILD_DEPENDS="yelp-xsl-dev libxml2-tools" 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 $fs 1.46 +genpkg_rules() { 1.47 + case $PACKAGE in 1.48 + yelp-tools) 1.49 + copy @std 1.50 + DEPENDS="libxslt" 1.51 + ;; 1.52 + *-dev) 1.53 + copy @dev 1.54 + ;; 1.55 + esac 1.56 }