mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/cbase: Updated for version 1.3.5
This commit is contained in:
parent
7500f7a27d
commit
4cdad00075
3 changed files with 13 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
|||
# For details see http://sam.zoy.org/wtfpl/COPYING
|
||||
|
||||
PRGNAM=cbase
|
||||
VERSION=${VERSION:-1.3.4}
|
||||
VERSION=${VERSION:-1.3.5}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -21,10 +21,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
@ -46,6 +49,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--infodir=/usr/info \
|
||||
|
@ -60,10 +64,10 @@ 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
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.$TAG
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="cbase"
|
||||
VERSION="1.3.4"
|
||||
VERSION="1.3.5"
|
||||
HOMEPAGE="http://www.hyperrealm.com/main.php?s=cbase"
|
||||
DOWNLOAD="http://www.hyperrealm.com/cbase/cbase-1.3.4.tar.gz"
|
||||
MD5SUM="71deb31c9e76368d4c3a204fe3b4fedf"
|
||||
DOWNLOAD="http://www.hyperrealm.com/cbase/cbase-1.3.5.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="931eac69238f607effcc2ce71c6cc0f5"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Menno Duursma"
|
||||
EMAIL="druiloor@zonnet.nl"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
# 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------------------------------------------------------|
|
||||
cbase: cbase (C routines library)
|
||||
cbase:
|
||||
|
|
Loading…
Reference in a new issue