summaryrefslogtreecommitdiff
path: root/development/CImg/CImg.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave {at} gmail {dot} com>2010-12-29 23:10:26 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 23:10:26 -0600
commit0b1b67a1baafe537519bd1ef6b09eed638b9f226 (patch)
tree4d446480ed657b0cb3595b45890d45dadf0d26df /development/CImg/CImg.SlackBuild
parent28ddd1ed9a7b50122054926a112a685acf2880d0 (diff)
downloadslackbuilds-0b1b67a1baafe537519bd1ef6b09eed638b9f226.tar.gz
development/CImg: Updated for version 1.4.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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