wok-next diff nqc/receipt @ rev 20691

aescrypt: add option for SHA256sum
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:42:16 2018 +0000 (2018-05-21)
parents 8a74e7b0ff7f
children d5aab818505e
line diff
     1.1 --- a/nqc/receipt	Wed Jul 06 13:17:14 2016 +0200
     1.2 +++ b/nqc/receipt	Mon May 21 19:42:16 2018 +0000
     1.3 @@ -1,34 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="nqc"
     1.8  VERSION="3.1.r6-4"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Compiler for the Not Quite C programming language."
    1.11 +SHORT_DESC="Compiler for the Not Quite C programming language"
    1.12  MAINTAINER="rcx@zoominternet.net"
    1.13  LICENSE="MPL"
    1.14 +WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.bz2"
    1.17 -WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
    1.18  #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
    1.19  WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.20 -TAGS="compiler language"
    1.21  
    1.22 -DEPENDS="glibc-base gcc-lib-base"
    1.23  BUILD_DEPENDS="flex"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	[ -s $TARBALL ] && tar xjf $TARBALL -C ..
    1.30 -	make -j1 TOOLPREFIX="$TOOLPREFIX" \
    1.31 +
    1.32 +	make -j1 \
    1.33 +		TOOLPREFIX="$TOOLPREFIX" \
    1.34  		DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
    1.35  		DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
    1.36  		DEFAULT_PORT_NAME='"usb"' &&
    1.37 -	make PREFIX=/usr MANDIR=/usr/share/man/man1 install
    1.38 +	make \
    1.39 +		PREFIX=/usr \
    1.40 +		MANDIR=/usr/share/man/man1 \
    1.41 +		install
    1.42  }
    1.43  
    1.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 -genpkg_rules()
    1.46 -{
    1.47 -	mkdir -p $fs/usr
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 +genpkg_rules() {
    1.50 +	copy @std
    1.51 +	DEPENDS="glibc-base gcc-lib-base"
    1.52 +	TAGS="compiler language"
    1.53  }