summaryrefslogtreecommitdiffstats
path: root/system/openais/openais.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-21 15:42:08 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:48 -0500
commitb76c18889b3f45b2fdae30f91c5c9ab4444dacfb (patch)
tree1cd50f283389ab703ba9283624f916524a3ffab1 /system/openais/openais.SlackBuild
parentc88d0cfcf502dc023fcc23cc29acb605969e5f89 (diff)
downloadslackbuilds-b76c18889b3f45b2fdae30f91c5c9ab4444dacfb.tar.gz
slackbuilds-b76c18889b3f45b2fdae30f91c5c9ab4444dacfb.tar.xz
system/openais: Updated for subversion revision 2189.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/openais/openais.SlackBuild')
-rw-r--r--system/openais/openais.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/openais/openais.SlackBuild b/system/openais/openais.SlackBuild
index 5c17c5489b..a24f75c33f 100644
--- a/system/openais/openais.SlackBuild
+++ b/system/openais/openais.SlackBuild
@@ -10,7 +10,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=openais
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-r2189}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,7 +49,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -58,6 +58,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./autogen.sh || true
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,7 +85,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CHANGELOG LICENSE README.amf \
+ AUTHORS LICENSE README.amf \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild