summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/devede/README6
-rw-r--r--multimedia/devede/devede.SlackBuild12
-rw-r--r--multimedia/devede/devede.info8
3 files changed, 16 insertions, 10 deletions
diff --git a/multimedia/devede/README b/multimedia/devede/README
index 8a668a8b34..2ca70ffb66 100644
--- a/multimedia/devede/README
+++ b/multimedia/devede/README
@@ -4,4 +4,8 @@ DeVeDe is a program to create video DVDs and CDs (VCD, sVCD, or CVD),
suitable for home players from any number of video files, in any of
the formats supported by MPlayer.
-DeVeDe requires pygtk, dvdauther, vcdimager, and MPlayer.
+DeVeDe requires dvdauthor, vcdimager, and MPlayer.
+
+Since new versions of DeVeDe are released quite frequently, but its installer
+script is usually not modified, it is possible to pass the version number to the
+SlackBuild script with VERSION=<version>
diff --git a/multimedia/devede/devede.SlackBuild b/multimedia/devede/devede.SlackBuild
index 705ad98f0f..8ab059b6b3 100644
--- a/multimedia/devede/devede.SlackBuild
+++ b/multimedia/devede/devede.SlackBuild
@@ -22,11 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Roberto Neri <rneri@libero.it> to
+# - use 'pkgdocdir' and 'uninstall' install script options
+# - pass the version number to the build script
+
PRGNAM=devede
-VERSION=3.4
+VERSION=${VERSION:-3.11}
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -41,13 +46,10 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-./install.sh prefix=/usr DESTDIR=$PKG || exit 1
+./install.sh --prefix=/usr --pkgdocdir=/usr/doc/$PRGNAM-$VERSION --uninstall=no DESTDIR=$PKG || exit 1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp version.txt $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/devede/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/share/doc/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/devede/devede.info b/multimedia/devede/devede.info
index fc47b37683..833e8523c9 100644
--- a/multimedia/devede/devede.info
+++ b/multimedia/devede/devede.info
@@ -1,8 +1,8 @@
PRGNAM="devede"
-VERSION="3.4"
+VERSION="3.11"
HOMEPAGE="http://www.rastersoft.com/programas/devede.html"
-DOWNLOAD="http://www.rastersoft.com/descargas/devede-3.4.tar.bz2"
-MD5SUM="a374fc1016bbd97e9435c1254ae1fb31"
+DOWNLOAD="http://www.rastersoft.com/descargas/devede-3.11.tar.bz2"
+MD5SUM="9cb7d02192c1edc741aa9d25806c79b7"
MAINTAINER="Brian Reichert"
EMAIL="rignes@pobox.com"
-APPROVED="rworkman"
+APPROVED="David Somero" \ No newline at end of file