summaryrefslogtreecommitdiff
path: root/multimedia/devede/devede.SlackBuild
diff options
context:
space:
mode:
authorBrian Reichert <rignes@pobox.com>2010-05-11 22:24:39 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:39 +0200
commit3e4d8e2f27dba1520cb3156d9aa662eae1481baa (patch)
tree7f51ca1886b75f1bb2af3a9b2a7091f36f331372 /multimedia/devede/devede.SlackBuild
parent551b544b5962f1c200564a2365a5445952b0f647 (diff)
downloadslackbuilds-3e4d8e2f27dba1520cb3156d9aa662eae1481baa.tar.gz
multimedia/devede: Updated for version 3.11
Diffstat (limited to 'multimedia/devede/devede.SlackBuild')
-rw-r--r--multimedia/devede/devede.SlackBuild12
1 files changed, 7 insertions, 5 deletions
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