summaryrefslogtreecommitdiff
path: root/libraries/cbase/cbase.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2015-05-24 22:32:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:12 +0700
commitdac8448ba592afba1c7a8f1e56b381a6a1273944 (patch)
tree91c2010362b4dba682b7d91ef43b7102ad948c4d /libraries/cbase/cbase.SlackBuild
parent3dba1c335110a74512bc072b9af52ffa790f1468 (diff)
downloadslackbuilds-dac8448ba592afba1c7a8f1e56b381a6a1273944.tar.gz
libraries/cbase: Updated for version 1.3.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cbase/cbase.SlackBuild')
-rw-r--r--libraries/cbase/cbase.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/libraries/cbase/cbase.SlackBuild b/libraries/cbase/cbase.SlackBuild
index 0f1d4f6f3b..4a7a76f858 100644
--- a/libraries/cbase/cbase.SlackBuild
+++ b/libraries/cbase/cbase.SlackBuild
@@ -10,7 +10,7 @@
# For details see http://sam.zoy.org/wtfpl/COPYING
PRGNAM=cbase
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -51,10 +51,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -64,7 +64,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -73,9 +75,8 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z][A-Z]* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING.LIB ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc