libraries/ffcall: Updated for version 1.10

This commit is contained in:
Martin Lefebvre 2010-05-11 19:44:58 +02:00 committed by Robby Workman
parent 5c443790f1
commit c9736f4e6f
3 changed files with 20 additions and 10 deletions

View file

@ -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

View file

@ -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"

View file

@ -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: