aboutsummaryrefslogtreecommitdiff
path: root/graphics/opengtl/opengtl.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-09-12 01:05:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-09-12 23:08:53 -0500
commite7175392ca69a33ef2dc178c0a0318e39a7783be (patch)
tree316faea84a2bc5ea36a4a27cd092799435da23c9 /graphics/opengtl/opengtl.SlackBuild
parent197287063371258f839f6b9bf685c7982d371143 (diff)
graphics/opengtl: Updated for version 0.9.14.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/opengtl/opengtl.SlackBuild')
-rw-r--r--graphics/opengtl/opengtl.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/opengtl/opengtl.SlackBuild b/graphics/opengtl/opengtl.SlackBuild
index ead9ead956a12..8decae0e3d1ca 100644
--- a/graphics/opengtl/opengtl.SlackBuild
+++ b/graphics/opengtl/opengtl.SlackBuild
@@ -22,17 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=OpenGTL
-VERSION=0.9.12
+PRGNAM=opengtl
+VERSION=0.9.14
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCNAM=OpenGTL
+
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
@@ -42,8 +42,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:])
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -89,10 +87,9 @@ cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp COPYING $PKG/usr/doc/$PRGNAM-$VERSION/
-mv $PKG/usr/share/doc/OpenGTL/ $PKG/usr/doc/$PRGNAM-$VERSION/
-rm -rf $PKG/usr/share/doc
+mv $PKG/usr/share/doc $PKG/usr
+mv $PKG/usr/doc/OpenGTL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install