summaryrefslogtreecommitdiff
path: root/system/openscap/openscap.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-25 17:06:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-26 00:00:45 -0500
commit2c461e1af2962550fd6db5c4dbc4424c50bf76b6 (patch)
treec68e41afea729f034a962086fe2dc45dae99ca60 /system/openscap/openscap.SlackBuild
parent267fe29cd96c7ed4c45ee587754c031eebab8877 (diff)
downloadslackbuilds-2c461e1af2962550fd6db5c4dbc4424c50bf76b6.tar.gz
system/openscap: Updated for version 20120925_4f110c6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/openscap/openscap.SlackBuild')
-rw-r--r--system/openscap/openscap.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/openscap/openscap.SlackBuild b/system/openscap/openscap.SlackBuild
index 6f2825580f..2ace925319 100644
--- a/system/openscap/openscap.SlackBuild
+++ b/system/openscap/openscap.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openscap
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-20120925_4f110c6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,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 . \
@@ -69,6 +69,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -91,7 +93,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild