summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-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