wok-next diff ccache/receipt @ rev 20958

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 06 04:28:48 2018 +0300 (2018-09-06)
parents eb8067417980
children d3730d754d47
line diff
     1.1 --- a/ccache/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/ccache/receipt	Thu Sep 06 04:28:48 2018 +0300
     1.3 @@ -1,36 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ccache"
     1.8 -VERSION="3.1.3"
     1.9 +VERSION="3.4.2"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Compiler cache"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://ccache.samba.org/"
    1.16 -WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
    1.17 -SUGGESTED="gcc"
    1.18 -TAGS="compiler"
    1.19 +WEB_SITE="https://ccache.samba.org/"
    1.20  
    1.21 -DEPENDS="zlib"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WGET_URL="https://www.samba.org/ftp/ccache/$TARBALL"
    1.24 +
    1.25  BUILD_DEPENDS="zlib-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	cd $src
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 -		--infodir=/usr/share/info \
    1.34 -		--mandir=/usr/share/man \
    1.35 -		$CONFIGURE_ARGS &&
    1.36 -	make && make DESTDIR=$DESTDIR install
    1.37 +compile_rules() {
    1.38 +	./configure $CONFIGURE_ARGS &&
    1.39 +	make &&
    1.40 +	make install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="zlib"
    1.51 +	SUGGESTED="gcc"
    1.52 +	TAGS="compiler"
    1.53  }
    1.54 -