summaryrefslogtreecommitdiffstats
path: root/libraries/ffcall
diff options
context:
space:
mode:
author Martin Lefebvre2010-05-11 19:44:58 +0200
committer Robby Workman2010-05-11 19:44:58 +0200
commitc9736f4e6fdecd130e41c1fdbad00d146593b4e9 (patch)
tree8ecf6122473afd02ebbdfa398f751e788750c23b /libraries/ffcall
parent5c443790f13549db270bbd9a385911d785325a60 (diff)
downloadslackbuilds-c9736f4e6fdecd130e41c1fdbad00d146593b4e9.tar.gz
libraries/ffcall: Updated for version 1.10
Diffstat (limited to 'libraries/ffcall')
-rw-r--r--libraries/ffcall/ffcall.SlackBuild13
-rw-r--r--libraries/ffcall/ffcall.info2
-rw-r--r--libraries/ffcall/slack-desc15
3 files changed, 20 insertions, 10 deletions
diff --git a/libraries/ffcall/ffcall.SlackBuild b/libraries/ffcall/ffcall.SlackBuild
index 00bc83e867..49fac96eb0 100644
--- a/libraries/ffcall/ffcall.SlackBuild
+++ b/libraries/ffcall/ffcall.SlackBuild
@@ -24,12 +24,15 @@
# Modified by the SlackBuilds.org project
+# Bail out if we encounter an error
+set -e
+
PRGNAM=ffcall
VERSION=1.10
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,16 +43,12 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
-# Bail out if we encounter an error
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -zxvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -68,9 +67,7 @@ make DESTDIR=$PKG install
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
-if [ -d $PKG/usr/man ]; then
- gzip -9 $PKG/usr/man/man?/*
-fi
+gzip -9 $PKG/usr/man/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/ffcall/ffcall.info b/libraries/ffcall/ffcall.info
index 2707eda686..f77b6a5a3e 100644
--- a/libraries/ffcall/ffcall.info
+++ b/libraries/ffcall/ffcall.info
@@ -5,4 +5,4 @@ DOWNLOAD="ftp://ftp.santafe.edu/pub/gnu/ffcall-1.10.tar.gz"
MD5SUM="2db95007e901f3bc2ae7e5a9fe9ebea4"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/libraries/ffcall/slack-desc b/libraries/ffcall/slack-desc
index a29265008b..cccf195743 100644
--- a/libraries/ffcall/slack-desc
+++ b/libraries/ffcall/slack-desc
@@ -1,6 +1,19 @@
-ffcall: Foreign Function Call library
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+ffcall: ffcall (Foreign Function Call library)
ffcall:
ffcall: A collection of four libraries used to build foreign function call
ffcall: interfaces in embedded interpreters.
ffcall:
ffcall:
+ffcall:
+ffcall:
+ffcall:
+ffcall:
+ffcall: