2010-11-18 13:10:56 +00:00
|
|
|
# Template file for 'unrar'
|
|
|
|
pkgname=unrar
|
2012-05-11 08:38:03 +00:00
|
|
|
version=4.2.1
|
2010-11-18 13:10:56 +00:00
|
|
|
wrksrc=unrar
|
2011-11-21 10:52:21 +00:00
|
|
|
nonfree=yes
|
|
|
|
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"
|
2012-05-11 08:38:03 +00:00
|
|
|
checksum=d5b59d98a6604ac41916311bc3b5dce1b94858008fc381aa975311d9248542c0
|
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
|
2010-11-18 13:10:56 +00:00
|
|
|
make ${makejobs} -f makefile.unix
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|