aboutsummaryrefslogtreecommitdiff
path: root/system/rar2fs/rar2fs.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 17:24:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:29 -0500
commit49f014b122e9e33b3a7ea004dd9d045938ad77b9 (patch)
tree5a03dff0c45e6507501c7e5bdac795eb7a49e164 /system/rar2fs/rar2fs.SlackBuild
parentb6abf36e48a35ca3dbd959a0cbf3a4384c717110 (diff)
system/rar2fs: Updated for version 1.15.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/rar2fs/rar2fs.SlackBuild')
-rw-r--r--system/rar2fs/rar2fs.SlackBuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/system/rar2fs/rar2fs.SlackBuild b/system/rar2fs/rar2fs.SlackBuild
index e0debadda9962..a7be0e8999c01 100644
--- a/system/rar2fs/rar2fs.SlackBuild
+++ b/system/rar2fs/rar2fs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rar2fs
-VERSION=${VERSION:-1.13.0}
+VERSION=${VERSION:-1.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,17 +71,23 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make \
- CXXFLAGS="$SLKCFLAGS" \
- UNRAR_SRC=/usr/include/unrar \
- UNRAR_LIB=/usr/lib${LIBDIRSUFFIX} \
- FUSE_SRC=/usr/include/fuse
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-unrar=/usr/include/unrar \
+ --with-unrar-lib=/usr/lib${LIBDIRSUFFIX} \
+ --build=$ARCH-slackware-linux
+make
install -D -m 755 mkr2i $PKG/usr/bin/mkr2i
install -D -m 755 rar2fs $PKG/usr/bin/rar2fs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install