aboutsummaryrefslogtreecommitdiff
path: root/graphics/oyranos/oyranos.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-30 00:30:20 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:18 -0600
commiteb3b51c81a07c6b87ce8b4320eb00c43914f5172 (patch)
treebe47983d7ce2a105ac40c2591a15b6ef642b9dd6 /graphics/oyranos/oyranos.SlackBuild
parentced42bcf83d3600b8da7b62e7a906480df1442c8 (diff)
graphics/oyranos: Updated for version 0.9.4 + New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/oyranos/oyranos.SlackBuild')
-rw-r--r--graphics/oyranos/oyranos.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index 81728e4ce791..8131cb0ae930 100644
--- a/graphics/oyranos/oyranos.SlackBuild
+++ b/graphics/oyranos/oyranos.SlackBuild
@@ -1,11 +1,11 @@
#!/bin/sh
# Slackware build script for xcm
-# Written by Diogo Leal (diogo@diogoleal.com)
-# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Originally Written by Diogo Leal (diogo@diogoleal.com)
+# Currently maintained by Dimitris Zlatanidis
PRGNAM=oyranos
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-0.9.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,11 +51,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/configure_tests.patch
-patch -p1 < $CWD/makefile.in.patch
-patch -p1 < $CWD/oyranos_file.cpp.patch
-patch -p1 < $CWD/qcmsevents.cpp.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,10 +68,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
-# --docdir does not work
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
find $PKG/usr/share/ -type d -empty -depth -exec rmdir {} \;