wok-next diff cc65/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 a3c581bf52b8
children
line diff
     1.1 --- a/cc65/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/cc65/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,32 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cc65"
     1.8  VERSION="2.13.3"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Cross development package for 65(C)02 systems."
    1.11 +SHORT_DESC="Cross development package for 65(C)02 systems"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="other"
    1.14  WEB_SITE="https://www.cc65.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-sources-$VERSION.tar.bz2"
    1.17  WGET_URL="ftp://ftp.musoftware.de/pub/uz/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS=""
    1.20  BUILD_DEPENDS="perl"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	mkdir -p $DESTDIR/usr
    1.26 +compile_rules() {
    1.27 +	mkdir -p $install/usr
    1.28  	sed -i "s|/usr/local|/usr|" make/gcc.mak
    1.29 -	make -j 1 -f  make/gcc.mak
    1.30 -	sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
    1.31 -	make -j 1 -f  make/gcc.mak install
    1.32 +	make -j1 -f  make/gcc.mak
    1.33 +	sed -i "s|/usr|$install/usr|" make/gcc.mak
    1.34 +	make -j1 -f  make/gcc.mak install
    1.35  
    1.36  	cook_pick_manpages packages/debian/*.1
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	cp -a $install/* $fs
    1.44  }