ports/opt (3.0): unrar: 4.2.4 -> 5.0.0
commit 324551dd0d39a6c9b8de8b5c04c9da8834742c39 Author: Thomas Penteker <tek@serverop.de> Date: Mon Apr 29 15:42:10 2013 +0200 unrar: 4.2.4 -> 5.0.0 diff --git a/unrar/.md5sum b/unrar/.md5sum index 51c5213..b769f11 100644 --- a/unrar/.md5sum +++ b/unrar/.md5sum @@ -1 +1 @@ -8ea9d1b4139474b282d76e627a2de3e4 unrarsrc-4.2.4.tar.gz +80291d715e5dd3cc2f70dd7e4e2220b6 unrarsrc-5.0.0.tar.gz diff --git a/unrar/Pkgfile b/unrar/Pkgfile index 71326ce..14407b7 100644 --- a/unrar/Pkgfile +++ b/unrar/Pkgfile @@ -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 }
participants (1)
-
crux@crux.nu