wok-next rev 18577

Up unrar (5.3.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 11 10:22:00 2015 +0100 (2015-11-11)
parents fcb3be61118c
children 2cb8ea33e031
files unrar/receipt
line diff
     1.1 --- a/unrar/receipt	Wed Nov 11 01:51:31 2015 +0100
     1.2 +++ b/unrar/receipt	Wed Nov 11 10:22:00 2015 +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 -