wok-next diff compface/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 9a5b17ddcfcb
children d5aab818505e
line diff
     1.1 --- a/compface/receipt	Tue May 30 05:37:57 2017 +0300
     1.2 +++ b/compface/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -11,19 +11,25 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="http://ftp.xemacs.org/pub/xemacs/aux/$TARBALL"
     1.6  
     1.7 -SPLIT="compface-dev"
     1.8 +SPLIT="xbm2xface compface compface-dev"
     1.9  
    1.10 -# Rules to configure and make the package.
    1.11 -compile_rules()
    1.12 -{
    1.13 -	./configure $CONFIGURE_ARGS && make && make install
    1.14 +compile_rules() {
    1.15 +	./configure $CONFIGURE_ARGS && make && make install || return 1
    1.16 +
    1.17 +	install -Dm755 $src/xbm2xface.pl $install/usr/bin/xbm2xface.pl
    1.18  }
    1.19  
    1.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 -genpkg_rules()
    1.22 -{
    1.23 +genpkg_rules() {
    1.24  	case $PACKAGE in
    1.25 -		compface) copy @std ;;
    1.26 -		compface-dev) copy @dev ;;
    1.27 +		xbm2xface)
    1.28 +			copy xbm2xface.pl
    1.29 +			DEPENDS="compface perl"
    1.30 +			;;
    1.31 +		compface)
    1.32 +			copy @std @rm
    1.33 +			;;
    1.34 +		*-dev)
    1.35 +			copy @dev
    1.36 +			;;
    1.37  	esac
    1.38  }