summaryrefslogtreecommitdiff
path: root/development/CImg/CImg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/CImg/CImg.SlackBuild')
-rw-r--r--development/CImg/CImg.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/CImg/CImg.SlackBuild b/development/CImg/CImg.SlackBuild
index 4d1478a1f4..9d91b9fdb0 100644
--- a/development/CImg/CImg.SlackBuild
+++ b/development/CImg/CImg.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for CImg
+# Slackware build script for CImg.
#
-# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
+# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=CImg
-VERSION=1.2.9
-ARCH=noarch
+VERSION=1.4.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+ARCH=noarch
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -39,7 +40,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -52,9 +53,8 @@ mkdir -p $PKG/usr/share/CImg
cp -a plugins/ $PKG/usr/share/CImg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -ar CHANGES.txt Licence* README.txt examples \
+cp -a CHANGES.txt Licence* README.txt examples html \
$PKG/usr/doc/$PRGNAM-$VERSION/
-cp -ar documentation/* $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install