2010-11-18 13:10:56 +00:00
|
|
|
# Template file for 'unrar'
|
|
|
|
pkgname=unrar
|
2013-05-05 05:47:20 +00:00
|
|
|
version=4.2.4
|
2013-04-14 13:20:19 +00:00
|
|
|
revision=1
|
2010-11-18 13:10:56 +00:00
|
|
|
wrksrc=unrar
|
2014-01-01 15:10:11 +00:00
|
|
|
nonfree="yes"
|
2011-11-21 10:52:21 +00:00
|
|
|
homepage="http://www.rarlab.com/rar"
|
|
|
|
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
|
2010-11-18 13:10:56 +00:00
|
|
|
short_desc="Unarchiver for .rar files (non-free version)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-21 10:52:21 +00:00
|
|
|
license="freeware - see /usr/share/licenses/unrar/license.txt"
|
2013-05-05 05:47:20 +00:00
|
|
|
checksum=9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
|
2010-11-18 13:10:56 +00:00
|
|
|
long_desc="
|
|
|
|
Unrar can extract files from .rar archives. If you want to create .rar
|
|
|
|
archives, install package rar."
|
|
|
|
|
2011-11-21 10:52:21 +00:00
|
|
|
do_build() {
|
|
|
|
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile.unix
|
2013-05-05 05:47:20 +00:00
|
|
|
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile.unix
|
2010-11-18 13:10:56 +00:00
|
|
|
}
|
|
|
|
|
2011-11-21 10:52:21 +00:00
|
|
|
do_install() {
|
|
|
|
vinstall unrar 755 usr/bin
|
|
|
|
vinstall license.txt 644 usr/share/licenses/unrar
|
2010-11-18 13:10:56 +00:00
|
|
|
}
|