unrar: 4.2.4 -> 5.0.0

This commit is contained in:
Thomas Penteker 2013-04-29 15:42:10 +02:00
parent abf9964635
commit 324551dd0d
2 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
8ea9d1b4139474b282d76e627a2de3e4 unrarsrc-4.2.4.tar.gz
80291d715e5dd3cc2f70dd7e4e2220b6 unrarsrc-5.0.0.tar.gz

View File

@ -5,13 +5,13 @@
# Depends on:
name=unrar
version=4.2.4
version=5.0.0
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
sed -i "s/^CXXFLAGS=.*/CXXFLAGS=$CXXFLAGS/" makefile
make
make install DESTDIR=$PKG/usr
}