diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-09 12:15:46 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-10 08:37:39 +0700 |
commit | ebc4073dcbe4378dd80284f99bf8c31052216bce (patch) | |
tree | 9967b42064c341522cf4c9e98eba7a54d33754fa /libraries/libviper | |
parent | d82543fafcbac6dfd9f89a7a3590c771e1f1c5b3 (diff) |
libraries/libviper: Remove (included in vwm already).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libviper')
-rw-r--r-- | libraries/libviper/README | 3 | ||||
-rw-r--r-- | libraries/libviper/libviper-1.4.6-Makefile.patch | 15 | ||||
-rw-r--r-- | libraries/libviper/libviper.SlackBuild | 102 | ||||
-rw-r--r-- | libraries/libviper/libviper.info | 10 | ||||
-rw-r--r-- | libraries/libviper/slack-desc | 19 |
5 files changed, 0 insertions, 149 deletions
diff --git a/libraries/libviper/README b/libraries/libviper/README deleted file mode 100644 index 15cca2e38b7ac..0000000000000 --- a/libraries/libviper/README +++ /dev/null @@ -1,3 +0,0 @@ -libviper is an API which builds on top of ncurses and libgpm to offer simple -window creation and management facilities for developers who want to quickly -create text interfacs. libviper offers an alternative to the panels library. diff --git a/libraries/libviper/libviper-1.4.6-Makefile.patch b/libraries/libviper/libviper-1.4.6-Makefile.patch deleted file mode 100644 index eb17f226d137e..0000000000000 --- a/libraries/libviper/libviper-1.4.6-Makefile.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig 2009-05-22 13:24:34.000000000 +0100 -+++ Makefile 2009-05-22 13:25:19.000000000 +0100 -@@ -31,11 +31,11 @@ - rm -f viper_wide.h - - install: -+ mkdir -p $(includedir) $(libdir) - chmod 644 viper.h - cp -f viper.h $(includedir) - chmod 755 libviper.so - cp -f libviper.so $(libdir) -- ldconfig - - install_wide: - chmod 644 viper.h diff --git a/libraries/libviper/libviper.SlackBuild b/libraries/libviper/libviper.SlackBuild deleted file mode 100644 index b5c460118500e..0000000000000 --- a/libraries/libviper/libviper.SlackBuild +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/bash - -# SlackBuild script for libviper. -# -# Copyright 2009 Pierre Cazenave <email removed> -# 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. - -# Previously maintained by Gerardo Zamudio. -# Now maintained by B. Watson <yalhcru@gmail.com>. - -# 20170825 bkw: -# - take over maintenance. -# - don't install useless INSTALL in doc dir. -# - simplify script a bit. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=libviper -VERSION=${VERSION:-1.4.6} -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 -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM -chown -R root:root . -chmod 644 * - -# patch the Makefile with a custom patch to correct hard-coded paths -patch -p0 < $CWD/libviper-1.4.6-Makefile.patch - -make CFLAGS="$SLKCFLAGS" -strip $PRGNAM.so -make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX} - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG LICENSE $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 - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/libviper/libviper.info b/libraries/libviper/libviper.info deleted file mode 100644 index bd0ab11386d6a..0000000000000 --- a/libraries/libviper/libviper.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="libviper" -VERSION="1.4.6" -HOMEPAGE="http://libviper.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/libviper/libviper-1.4.6.tar.gz" -MD5SUM="6b78e595b4e494976acd6f99fc8fdc7e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" diff --git a/libraries/libviper/slack-desc b/libraries/libviper/slack-desc deleted file mode 100644 index 1d691bfe34ff8..0000000000000 --- a/libraries/libviper/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------------------------------------------------------| -libviper: libviper (simple ncurses window creation and management facilities) -libviper: -libviper: libviper is an API which builds on top of ncurses and libgpm to offer -libviper: simple window creation and management facilities for developers who -libviper: want to quickly create text interfaces. -libviper: libviper offers an alternative to the panels library. -libviper: -libviper: Homepage: http://libviper.sourceforge.net -libviper: -libviper: -libviper: |