summaryrefslogtreecommitdiffstats
path: root/graphics/oyranos/oyranos.SlackBuild
diff options
context:
space:
mode:
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 81728e4ce7..8131cb0ae9 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 {} \;