wok-next diff rzip/receipt @ rev 20855

svgcleaner: up (0.9.5); add oxipng
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 15:41:27 2018 +0300 (2018-06-26)
parents 46121975746c
children d5aab818505e
line diff
     1.1 --- a/rzip/receipt	Wed Sep 16 13:35:26 2015 +0200
     1.2 +++ b/rzip/receipt	Tue Jun 26 15:41:27 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="rzip"
     1.8  VERSION="2.1"
     1.9 @@ -6,26 +6,21 @@
    1.10  SHORT_DESC="A compression program designed for long distance redundencies"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://rzip.samba.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://rzip.samba.org/"
    1.17  WGET_URL="${WEB_SITE}ftp/$PACKAGE/$TARBALL"
    1.18 -TAGS="compression archive"
    1.19  
    1.20 -DEPENDS="bzlib"
    1.21  BUILD_DEPENDS="wget bzip2-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure --prefix=/usr \
    1.27 -		--sysconfdir=/etc \
    1.28 -		$CONFIGURE_ARGS &&
    1.29 -	make
    1.30 +compile_rules() {
    1.31 +	./configure $CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	install -Dm 755 $src/rzip $install/usr/bin/rzip
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr/bin
    1.40 -	cp -a $src/rzip $fs/usr/bin
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="bzlib"
    1.44 +	TAGS="compression archive"
    1.45  }