diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-09-10 21:19:15 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-09-10 21:19:15 -0400 |
commit | 11d1d4b150c5638bdf223158d59ce3f12986be93 (patch) | |
tree | 5a11b57de7b6d5cbd5283099f4781403efc36e7b /system/tiger/tiger.SlackBuild | |
parent | d6615ee8e42fb02ab3b98dc9c1a90bec7288308e (diff) |
system/tiger: Updated build and added patch.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/tiger/tiger.SlackBuild')
-rw-r--r-- | system/tiger/tiger.SlackBuild | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/system/tiger/tiger.SlackBuild b/system/tiger/tiger.SlackBuild index e3ce594fb637..6f4f566ab20c 100644 --- a/system/tiger/tiger.SlackBuild +++ b/system/tiger/tiger.SlackBuild @@ -10,7 +10,7 @@ PRGNAM=tiger VERSION=${VERSION:-3.2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -57,6 +57,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# The build errs on this +patch --verbose -p1 < $CWD/patches/tiger-3.2.3-build-fix.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" export CFLAGS CXXFLAGS @@ -76,15 +79,15 @@ 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 -install -D -m 0644 debian/cron.d $PKG/etc/cron.d/tiger.new -install -D -m 0640 debian/debian.ignore $PKG/etc/tiger/tiger.ignore.new +install -D -m 0644 $CWD/config/tiger.cron $PKG/etc/cron.d/tiger.new +install -D -m 0640 $CWD/config/tiger.ignore $PKG/etc/tiger/tiger.ignore.new # From the .spec: 3.- This should be done by the Makefile, grumble... install -D -m 0644 version.h $PKG/usr/lib/tiger/version.h # Remove unnecesary stuff ( cd $PKG - for system in AIX HPUX IRIX NeXT SunOS UNICOS UNICOSMK Tru64 MacOSX ; do + for system in AIX HPUX IRIX NeXT SunOS UNICOS UNICOSMK Tru64 MacOSX ; do rm -rf ./usr/libexec/tiger/systems/$system done find . -type d -name CVS | xargs -iX rm -rf "X" @@ -95,17 +98,20 @@ install -D -m 0644 version.h $PKG/usr/lib/tiger/version.h mv -v tigerrc tigerrc.new ) -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [A-Z][A-Z]* site-* tigerrc* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a [A-Z][A-Z]* site-* tigerrc* \ + $PKG/usr/doc/$PRGNAM-$VERSION +cp -a other/cert-usc20.txt contrib/fix_tiger_GROUPS.sh \ + $PKG/usr/doc/$PRGNAM-$VERSION + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/txt cp $PKG/usr/libexec/tiger/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/txt mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp $PKG/usr/libexec/tiger/html/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html + # Delete the redundant stuff rm -rf $PKG/usr/libexec/tiger/doc $PKG/usr/libexec/tiger/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |