wok diff unrar/receipt @ rev 19588

Up node (6.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 28 14:42:27 2016 +0100 (2016-12-28)
parents 2a21689b0af7
children 7caa211f4e55
line diff
     1.1 --- a/unrar/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/unrar/receipt	Wed Dec 28 14:42:27 2016 +0100
     1.3 @@ -1,31 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="unrar"
     1.7 -VERSION="0.0.1"
     1.8 +VERSION="5.3.7"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="The free unrar"
    1.11  MAINTAINER="gokhlayeh@slitaz.org"
    1.12 -LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://gna.org/projects/unrar/"
    1.15 -WGET_URL="http://download.gna.org/unrar/$TARBALL"
    1.16 +LICENSE="freeware"
    1.17 +TARBALL="${PACKAGE}src-$VERSION.tar.gz"
    1.18 +WEB_SITE="http://www.rarlab.com"
    1.19 +WGET_URL="$WEB_SITE/rar/$TARBALL"
    1.20 +
    1.21 +DEPENDS="gcc-lib-base"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--infodir=/usr/share/info \
    1.30 -		--mandir=/usr/share/man \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +	make
    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
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 +	mkdir -p $fs/usr/bin
    1.42 +	cp -a $src/unrar $fs/usr/bin
    1.43  }
    1.44 -