summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorZbigniew Baniewski <zb@ispid.com.pl>2011-01-11 18:34:39 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-11 18:34:39 -0600
commit03835d0097904e91150b5b1a0cdf6468ff9a8350 (patch)
treea0c257ca2a8731f025ad7182d353ab3f4acf4eb4 /graphics
parenta2482f799fffd1c2735ff16ba5f0a4c66ff1f67f (diff)
downloadslackbuilds-03835d0097904e91150b5b1a0cdf6468ff9a8350.tar.gz
graphics/gtkam: Updated for version 0.1.17.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkam/gtkam.SlackBuild21
-rw-r--r--graphics/gtkam/gtkam.info10
-rw-r--r--graphics/gtkam/slack-desc2
3 files changed, 13 insertions, 20 deletions
diff --git a/graphics/gtkam/gtkam.SlackBuild b/graphics/gtkam/gtkam.SlackBuild
index 18d1b5f357..8c41c56cc9 100644
--- a/graphics/gtkam/gtkam.SlackBuild
+++ b/graphics/gtkam/gtkam.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtkam
-VERSION=0.1.16.1
+VERSION=0.1.17
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -71,7 +69,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
# Add --without-gimp if you don't want to compile the GIMP plugin
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -90,20 +87,16 @@ sed -i "s,$(egrep ^gtkamdocdir Makefile),gtkamdocdir = /usr/doc/$PRGNAM-$VERSION
make
make install-strip DESTDIR=$PKG
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
-
# Get rid of unnecessary stuff
-for i in gnome omf; do
- rm -rf $PKG/usr/share/$i &> /dev/null
-done
+rm -rf $PKG/usr/share/{gnome,omf}
gzip -9 $PKG/usr/man/man?/$PRGNAM.?
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
-for i in slack-desc doinst.sh; do
- cat $CWD/$i > $PKG/install/$i
-done
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/gtkam/gtkam.info b/graphics/gtkam/gtkam.info
index 2eefe0e376..991f890833 100644
--- a/graphics/gtkam/gtkam.info
+++ b/graphics/gtkam/gtkam.info
@@ -1,10 +1,10 @@
PRGNAM="gtkam"
-VERSION="0.1.16.1"
+VERSION="0.1.17"
HOMEPAGE="http://www.gphoto.org"
-DOWNLOAD="http://downloads.sourceforge.net/gphoto/gtkam-0.1.16.1.tar.bz2"
-MD5SUM="0b76a503aa87d892280044bd546a1fad"
+DOWNLOAD="http://downloads.sourceforge.net/gphoto/gtkam-0.1.17.tar.bz2"
+MD5SUM="b62f100e02a949c7bc875fdeff85fcc9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Michael Wagner"
-EMAIL="slackware.wagnerm@arcor.de"
+MAINTAINER="Zbigniew Baniewski"
+EMAIL="zb@ispid.com.pl"
APPROVED="rworkman"
diff --git a/graphics/gtkam/slack-desc b/graphics/gtkam/slack-desc
index 24e5e6bcd0..4531bd5674 100644
--- a/graphics/gtkam/slack-desc
+++ b/graphics/gtkam/slack-desc
@@ -11,7 +11,7 @@ gtkam:
gtkam: libgphoto2 is a portable library which gives access to literally
gtkam: hundreds of digital cameras. This package includes a graphical GTK2
gtkam: frontend and a GIMP plugin.
-gtkam:
+gtkam:
gtkam: Homepage: http://www.gphoto.org
gtkam:
gtkam: