unrar: adopted from opt

This commit is contained in:
Danny Rawlins 2009-01-16 12:04:18 +11:00
parent c9cb6469f4
commit 7d88d2d41b
3 changed files with 21 additions and 0 deletions

3
unrar/.footprint Normal file
View File

@ -0,0 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/unrar

1
unrar/.md5sum Normal file
View File

@ -0,0 +1 @@
875688e6a144a3f75d2a6a0da3e43f8b unrarsrc-3.8.5.tar.gz

17
unrar/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: Extracts RAR archives.
# URL: http://www.rarlab.com/rar_add.htm
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Jukka Heino, jukka dot heino at gmail dot com
# Depends on:
name=unrar
version=3.8.5
release=1
source=(http://www.rarlab.com/rar/${name}src-$version.tar.gz)
build() {
cd $name
sed -i -e "s/-O2/$CFLAGS/" makefile.unix
make -f makefile.unix
install -D -m 755 unrar $PKG/usr/bin/unrar
}