mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/libkate: Updated for version 0.3.7
This commit is contained in:
parent
fd023843e5
commit
e37ea60d5f
2 changed files with 13 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Slackware Package Build Script for libkate
|
# Slackware Package Build Script for libkate
|
||||||
# Home Page http://code.google.com/p/libkate/
|
# Home Page http://code.google.com/p/libkate/
|
||||||
|
|
||||||
# Copyright (c) 2008, Nishant Limbachia (nishant@mnspace.net)
|
# Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Estates, IL, USA [nishant@mnspace.net]
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libkate
|
PRGNAM=libkate
|
||||||
VERSION=0.3.3
|
VERSION=0.3.7
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -63,6 +66,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
|
@ -96,4 +100,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
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="libkate"
|
PRGNAM="libkate"
|
||||||
VERSION="0.3.3"
|
VERSION="0.3.7"
|
||||||
HOMEPAGE="http://code.google.com/p/libkate/"
|
HOMEPAGE="http://code.google.com/p/libkate/"
|
||||||
DOWNLOAD="http://libkate.googlecode.com/files/libkate-0.3.3.tar.gz"
|
DOWNLOAD="http://libkate.googlecode.com/files/libkate-0.3.7.tar.gz"
|
||||||
MD5SUM="328ea1eb451f460514a096668d3bf076"
|
MD5SUM="e5c287b4f40498e5bde48c0a52225292"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Nishant Limbachia"
|
MAINTAINER="Nishant Limbachia"
|
||||||
EMAIL="nishant@mnspace.net"
|
EMAIL="nishant@mnspace.net"
|
||||||
APPROVED="dsomero"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in a new issue