libraries/mysql++: Updated for version 3.0.9
This commit is contained in:
parent
a3c3ad4e4b
commit
c6fabf3da2
|
@ -1,4 +1,7 @@
|
|||
MySQL++ is a C++ wrapper for MySQL?s C API. It is built around the same principles as the Standard C++ Library, mysql++: to make dealing with the database as easy as dealing with STL containers. In addition, MySQL++ provides facilities that let you avoid the most repetitive sorts of SQL within your own code,
|
||||
mysql++: providing native C++ interfaces for these common tasks.
|
||||
MySQL++ is a C++ wrapper for MySQL's C API. It is built around the same
|
||||
principles as the Standard C++ Library, to make dealing with the database
|
||||
as easy as dealing with STL containers. In addition, MySQL++ provides
|
||||
facilities that let you avoid the most repetitive sorts of SQL within your
|
||||
own code, providing native C++ interfaces for these common tasks.
|
||||
|
||||
MySQL++ requires MySQL.
|
|
@ -36,10 +36,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
|
||||
|
@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -87,5 +91,5 @@ 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}
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="mysql++"
|
|||
VERSION="3.0.9"
|
||||
HOMEPAGE="http://tangentsoft.net/mysql++/"
|
||||
DOWNLOAD="http://tangentsoft.net/mysql++/releases/mysql++-3.0.9.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="4acc1603846fe67d36b6243bfb805652"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Lorenzo Stramaccia"
|
||||
EMAIL="lorenzost@gmail.com"
|
||||
APPROVED="michiel"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
mysql++: mysql++ (A C++ wrapper for the MySQL C API)
|
||||
mysql++:
|
||||
mysql++: MySQL++ is a C++ wrapper for the MySQLs C API.
|
||||
|
|
Loading…
Reference in New Issue