academic/qhull: Build bump, install qhull.h.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Chris Abela 2010-07-31 21:34:16 -05:00 committed by Erik Hanson
parent 42c8f54dd7
commit 2438a2e78c
2 changed files with 10 additions and 13 deletions

View file

@ -1,5 +1,5 @@
--- Make-config.sh 2010-03-22 21:51:33.000000000 +0100
+++ Make-config.sh.new 2010-03-22 21:52:40.000000000 +0100
--- Make-config.sh 2010-03-26 07:21:14.000000000 +0000
+++ Make-config.sh.new 2010-03-26 07:24:34.000000000 +0000
@@ -114,7 +114,7 @@
### Man pages (trick to get around .man extension)
@ -21,17 +21,18 @@
# how:
libqhull_la_LDFLAGS = -version-info 4:0:0 -lm
@@ -233,7 +236,8 @@
@@ -233,7 +236,9 @@
merge.h \
libqhull.h \
qset.h \
- user.h
+ user.h \
+ random.h
+ random.h \
+ qhull.h
### Example programs
@@ -246,10 +250,9 @@
@@ -246,10 +251,9 @@
examples_DATA = \
user_eg.c \
user_eg2.c \

View file

@ -7,15 +7,13 @@
PRGNAM=qhull
VERSION=${VERSION:-2010.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
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
@ -39,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
set -e
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -79,10 +77,8 @@ make install \
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( 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
cp -a File_id.diz $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild