diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-04 08:45:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-04 17:53:45 +0700 |
commit | 33119be684690e6b2dc43bc3170231a99504e3af (patch) | |
tree | cdcc40295e4efed6708521da8f319d99cabe358e /libraries | |
parent | 976e18c0230bae4f5b96433147dc8a8e625bb271 (diff) |
libraries/sqlpp11-connector-sqlite3: Removed (included in sqlpp11).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
5 files changed, 0 insertions, 173 deletions
diff --git a/libraries/sqlpp11-connector-sqlite3/README b/libraries/sqlpp11-connector-sqlite3/README deleted file mode 100644 index 0fdcc921e9e15..0000000000000 --- a/libraries/sqlpp11-connector-sqlite3/README +++ /dev/null @@ -1,13 +0,0 @@ -sqlpp11 offers you to code SQL in C++ almost naturally. You can -use tables, columns and functions. Everything has strong types -which allow the compiler to help you a lot. At compile time, it -will tell about most of those pesky oversight errors you can -make (typos, comparing apples with oranges, forgetting tables -in a select statement, etc). And it does not stop at query -construction. Results have ranges, and strongly typed members, -so that you can browse through results in a type-safe manner, -worthy of modern C++. - -sqlpp11 requires a certain api in order to connect with the -database, sqlpp11-connector-sqlite3 is a SQL connector for -the Sqlite3 database. diff --git a/libraries/sqlpp11-connector-sqlite3/slack-desc b/libraries/sqlpp11-connector-sqlite3/slack-desc deleted file mode 100644 index 593fde01912ac..0000000000000 --- a/libraries/sqlpp11-connector-sqlite3/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' 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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -sqlpp11-connector-sqlite3: sqlpp11-connector-sqlite3 (sqlpp11 connector for Sqlite3) -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: A C++ wrapper for sqlite3 meant to be used in combination with -sqlpp11-connector-sqlite3: sqlpp11. -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: -sqlpp11-connector-sqlite3: https://github.com/rbock/sqlpp11-connector-sqlite3 -sqlpp11-connector-sqlite3: diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild deleted file mode 100644 index 0358bbfc79218..0000000000000 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/bash - -# Slackware build script for sqlpp11-connector-sqlite3 - -# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=sqlpp11-connector-sqlite3 -VERSION=${VERSION:-0.25} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -patch -p1 < $CWD/sqlpp11-connector-sqlite3.patch -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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DCMAKE_BUILD_TYPE=Release \ - -DDATE_INCLUDE_DIR=/usr/include \ - -DSQLPP11_INCLUDE_DIR=/usr/include/ .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -ar LICENSE README.md tests $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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.$PKGTYPE diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info deleted file mode 100644 index 8516196c9fb35..0000000000000 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="sqlpp11-connector-sqlite3" -VERSION="0.25" -HOMEPAGE="https://github.com/rbock/sqlpp11-connector-sqlite3" -DOWNLOAD="https://github.com/rbock/sqlpp11-connector-sqlite3/archive/0.25/sqlpp11-connector-sqlite3-0.25.tar.gz" -MD5SUM="7284fda1975474f7354da67ef12df0e1" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="sqlpp11" -MAINTAINER="Andre Barboza" -EMAIL="bmg.andre@gmail.com" diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch deleted file mode 100644 index 38da3b8084dcf..0000000000000 --- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ru sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/CMakeLists.txt ---- sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300 -+++ sqlpp11-connector-sqlite3-0.25/CMakeLists.txt 2017-09-26 07:55:27.798021515 -0300 -@@ -82,7 +82,7 @@ - include_directories("${DATE_INCLUDE_DIR}") - include_directories("${SQLITE3_INCLUDE_DIRS}") - set(include_dir "${PROJECT_SOURCE_DIR}/include") --file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h) -+#file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h) - include_directories(${include_dir}) - - add_subdirectory(src) -diff -ru sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt ---- sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300 -+++ sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt 2017-09-26 07:52:43.037017830 -0300 -@@ -17,5 +17,5 @@ - target_compile_options(sqlpp11-connector-sqlite3-dynamic INTERFACE -DSQLPP_DYNAMIC_LOADING) - target_compile_options(sqlpp11-connector-sqlite3-dynamic PRIVATE -DSQLPP_DYNAMIC_LOADING -DSQLPP_DYNAMIC_LOADING_FILENAME=${SQLITE3_LIB_FILE}) - --install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib) --install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib) -+install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib${LIB_SUFFIX}) -+install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib${LIB_SUFFIX}) |