18 lines
435 B
Plaintext
18 lines
435 B
Plaintext
# Description: Extracts RAR archives
|
|
# URL: http://www.rarlab.com/rar_add.htm
|
|
# Maintainer: Simone Rota, sip at crux dot nu
|
|
# Packager: Jukka Heino, jukka dot heino at gmail dot com
|
|
# Depends on:
|
|
|
|
name=unrar
|
|
version=3.8.2
|
|
release=1
|
|
source=(http://www.rarlab.com/rar/${name}src-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name
|
|
sed -i "s/-O2/$CFLAGS/" makefile.unix
|
|
make -f makefile.unix
|
|
install -D -m 755 unrar $PKG/usr/bin/unrar
|
|
}
|