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