wok-next diff open-cobol/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents ee63fcd28c2d
children 4a67f7e79846
line diff
     1.1 --- a/open-cobol/receipt	Sun Mar 06 21:49:34 2016 +0100
     1.2 +++ b/open-cobol/receipt	Tue Apr 10 10:14:26 2018 +0200
     1.3 @@ -1,31 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="open-cobol"
     1.8  VERSION="1.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Cobol compiler."
    1.11 +SHORT_DESC="Cobol compiler"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.opencobol.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.opencobol.org/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="gmp ncurses db gcc"
    1.21 -BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
    1.22 +BUILD_DEPENDS="gmp ncurses db gcc ncurses-dev gmp-dev db-dev bison flex"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	export LDFLAGS="$LDFLAGS -lpthread"
    1.29 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.30 -		--localstatedir=/var \
    1.31 -	$CONFIGURE_ARGS &&
    1.32 +
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR 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/usr $fs
    1.42 +genpkg_rules() {
    1.43 +	copy @std @dev
    1.44 +	DEPENDS="gmp ncurses db gcc"
    1.45  }