wok-next diff pilot-link/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 7aa5bdffd3f5
children 10df65db91ad
line diff
     1.1 --- a/pilot-link/receipt	Mon Dec 14 09:55:05 2015 +0100
     1.2 +++ b/pilot-link/receipt	Tue Mar 27 12:50:45 2018 +0200
     1.3 @@ -1,29 +1,37 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pilot-link"
     1.8  VERSION="0.12.5"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds."
    1.11 +SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds"
    1.12  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
    1.13  LICENSE="GPL-LGPL"
    1.14  WEB_SITE="http://www.pilot-link.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://downloads.pilot-link.org/$TARBALL"
    1.18  
    1.19 -DEPENDS="popt readline"
    1.20  BUILD_DEPENDS="popt-dev readline-dev"
    1.21 +SPLIT="pilot-link-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure $CONFIGURE_ARGS --prefix=/usr --enable-conduits \
    1.27 -		--sharedstatedir=/var/lib --localstatedir=/var &&
    1.28 +compile_rules() {
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31 +		--enable-conduits \
    1.32 +		--sharedstatedir=/var/lib \
    1.33 +		--localstatedir=/var \
    1.34 +		$CONFIGURE_ARGS &&
    1.35  	make && make install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	cp -a $install/* $fs
    1.42 -	rm -r $fs/usr/include $fs/usr/share/aclocal
    1.43 +genpkg_rules() {
    1.44 +	case $PACKAGE in
    1.45 +		pilot-link)
    1.46 +			copy @std
    1.47 +			DEPENDS="popt readline"
    1.48 +			;;
    1.49 +		*-dev)
    1.50 +			copy @dev
    1.51 +			;;
    1.52 +	esac
    1.53  }