From eb3b51c81a07c6b87ce8b4320eb00c43914f5172 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 30 Jan 2014 00:30:20 +0700 Subject: graphics/oyranos: Updated for version 0.9.4 + New Maintainer. Signed-off-by: Willy Sudiarto Raharjo --- graphics/oyranos/oyranos.SlackBuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'graphics/oyranos/oyranos.SlackBuild') 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 +# 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 {} \; -- cgit v1.2.3