summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 17:02:20 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-14 17:05:53 +0200
commit2fba9f4a3c04e8ce02f16076f1b600daf3db6fbe (patch)
tree04c8a61b9489602c7732300fa22b01b0166b37d4
parentbe6badd719f3b1f6ba64bb349ffe431ccd6a9b1a (diff)
downloadslackbuilds-2fba9f4a3c04e8ce02f16076f1b600daf3db6fbe.tar.gz
multimedia/dvdrip: Fixed man installation and global prefix.
Noted also the optional dependency on rar. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--multimedia/dvdrip/README2
-rw-r--r--multimedia/dvdrip/dvdrip.SlackBuild11
2 files changed, 9 insertions, 4 deletions
diff --git a/multimedia/dvdrip/README b/multimedia/dvdrip/README
index e05a493231..637a299ff4 100644
--- a/multimedia/dvdrip/README
+++ b/multimedia/dvdrip/README
@@ -3,5 +3,5 @@ easy to use but feature-rich Gtk+ GUI to control almost all aspects of the
ipping and transcoding process. It uses the widely known video processing
swissknife transcode and many other Open Source tools.
-ffmpeg, lsdvd, ogmtools, mjpegtools, xvid4conf, subtitleripper, and fping
+ffmpeg, lsdvd, ogmtools, mjpegtools, xvid4conf, subtitleripper, fping and rar
are optional dependencies.
diff --git a/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild
index ff0c2f1f8a..d4ab7a4c24 100644
--- a/multimedia/dvdrip/dvdrip.SlackBuild
+++ b/multimedia/dvdrip/dvdrip.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=dvdrip
VERSION=${VERSION:-0.98.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,7 +51,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Makefile.PL
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
@@ -63,7 +67,8 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/dvdrip.desktop > $PKG/usr/share/applications/dvdrip.desktop
cat $CWD/dvdrip.png > $PKG/usr/share/pixmaps/dvdrip.png
-mv $PKG/usr/share/man $PKG/usr
+# some man files are empty ATM :/
+rm $PKG/usr/man/man1/dvdrip-*
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done