summaryrefslogtreecommitdiff
path: root/system/openais/openais.SlackBuild
diff options
context:
space:
mode:
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