Browse Source

xap/calibre: Removed.

slackware-14.2
Damien Goutte-Gattat 2 years ago
parent
commit
cb62a585fb
  1. 1
      ap/optipng/optipng-0.7.6.tar.gz.sha256
  2. 115
      ap/optipng/optipng.SlackBuild
  3. 12
      ap/optipng/slack-desc
  4. 1
      l/apsw/apsw-3.13.0-r1.tar.gz.sha1
  5. 115
      l/apsw/apsw.SlackBuild
  6. 12
      l/apsw/slack-desc
  7. 1
      l/easylzma/easylzma-0.0.7.tar.gz.sha256
  8. 122
      l/easylzma/easylzma.SlackBuild
  9. 12
      l/easylzma/slack-desc
  10. 1
      l/msgpack-python/msgpack-python-0.4.8.tar.gz.sha256
  11. 119
      l/msgpack-python/msgpack-python.SlackBuild
  12. 12
      l/msgpack-python/slack-desc
  13. 1
      l/podofo/podofo-0.9.4.tar.gz.sha1
  14. 130
      l/podofo/podofo.SlackBuild
  15. 12
      l/podofo/slack-desc
  16. 1
      l/python-mechanize/mechanize-0.3.3.tar.gz.sha256
  17. 115
      l/python-mechanize/python-mechanize.SlackBuild
  18. 12
      l/python-mechanize/slack-desc
  19. 1
      l/python-netifaces/netifaces-0.10.5.tar.gz.sha256
  20. 113
      l/python-netifaces/python-netifaces.SlackBuild
  21. 12
      l/python-netifaces/slack-desc
  22. 1
      xap/calibre/calibre-2.85.1.tar.bz2.sha256
  23. 141
      xap/calibre/calibre.SlackBuild
  24. 12
      xap/calibre/slack-desc

1
ap/optipng/optipng-0.7.6.tar.gz.sha256

@ -1 +0,0 @@
4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 optipng-0.7.6.tar.gz

115
ap/optipng/optipng.SlackBuild

@ -1,115 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest optipng sourcecode is available at:
# <http://optipng.sourceforge.net/>.
# Source package infos
NAMESRC=${NAMESRC:-optipng}
VERSION=${VERSION:-0.7.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://downloads.sourceforge.net/optipng/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-optipng}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure --prefix=/usr
make -j $JOBS
make install DESTDIR=$PKG
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS.txt LICENSE.txt README.txt doc/history.txt \
doc/todo.txt doc/png_optimization.html $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
ap/optipng/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
optipng: optipng (advanced PNG optimizer)
optipng:
optipng: OptiPNG is a PNG optimizer that recompresses image files to a
optipng: smaller size, without losing any information. This program also
optipng: converts external formats (BMP, GIF, PNM and TIFF) to optimized
optipng: PNG, and performs PNG integrity checks and corrections.
optipng:
optipng:
optipng:
optipng:
optipng:

1
l/apsw/apsw-3.13.0-r1.tar.gz.sha1

@ -1 +0,0 @@
d262074bad093742711de1898dde0863892f724c apsw-3.13.0-r1.tar.gz

115
l/apsw/apsw.SlackBuild

@ -1,115 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest apsw sourcecode is available at:
# <https://github.com/rogerbinns/apsw>.
# Source package infos
NAMESRC=${NAMESRC:-apsw}
VERSION=${VERSION:-3.13.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-r1.tar.gz}
WGET=${WGET:-https://github.com/rogerbinns/apsw/archive/$VERSION-r1.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-apsw}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
NAME=$NAMESRC-$VERSION-r1
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/apsw/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler---------------------------------------------------------|
apsw: apsw (Another Python SQLite Wrapper)
apsw:
apsw: APSW is a Python wrapper for the SQLite embedded relational database
apsw: engine. In contrast to other wrappers such as pysqlite it focuses on
apsw: being a minimal layer over SQLite attempting just to translate the
apsw: complete SQLite API into Python.
apsw:
apsw:
apsw:
apsw:
apsw:

1
l/easylzma/easylzma-0.0.7.tar.gz.sha256

@ -1 +0,0 @@
ea9472c0173411ed0b3649f54e03a5a3ee3381c248395991d0cdf7e955ceba50 easylzma-0.0.7.tar.gz

122
l/easylzma/easylzma.SlackBuild

@ -1,122 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest easylzma sourcecode is available at:
# <https://lloyd.github.io/easylzma/>.
# Source package infos
NAMESRC=${NAMESRC:-easylzma}
VERSION=${VERSION:-0.0.7}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://github.com/lloyd/easylzma/tarball/$VERSION}
# Build infos
NAMEPKG=${NAMEPKG:-easylzma}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
LIBDIRSUFFIX=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
LIBDIRSUFFIX="64"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
cmake ..
make -j $JOBS
# Install
mkdir -p $PKG/usr/{bin,lib$LIBDIRSUFFIX,include/easylzma,doc/$NAMEPKG-$VERSION}
install -s -m 755 $NAMEPKG-$VERSION/bin/{un,}elzma $PKG/usr/bin
install -m 644 $NAMEPKG-$VERSION/include/easylzma/{decompress,common,compress}.h \
$PKG/usr/include/easylzma
install -s -m 755 $NAMEPKG-$VERSION/lib/libeasylzma.so.0.0.7 \
$PKG/usr/lib$LIBDIRSUFFIX
(cd $PKG/usr/lib$LIBDIRSUFFIX
ln -s libeasylzma.so.0.0.7 libeasylzma.so.0
ln -s libeasylzma.so.0 libeasylzma.so
)
install -m 644 ../ChangeLog ../README ../TODO $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/easylzma/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
easylzma: easylzma (LZMA library and command line tools)
easylzma:
easylzma: Easylzma is a C library and command line tools for LZMA compression
easylzma: and decompression. It uses a Igor Pavlov's reference implementation
easylzma: and SDK written in C.
easylzma:
easylzma:
easylzma:
easylzma:
easylzma:
easylzma:

1
l/msgpack-python/msgpack-python-0.4.8.tar.gz.sha256

@ -1 +0,0 @@
b60a04916c609ad9a713d9c785b4a61f81728f264a8ae384faffc0d3aedd2029 msgpack-python-0.4.8.tar.gz

119
l/msgpack-python/msgpack-python.SlackBuild

@ -1,119 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest msgpack-python sourcecode is available at:
# <https://github.com/msgpack/msgpack-python>.
#
# Depends: d/cython
# Source package infos
NAMESRC=${NAMESRC:-msgpack-python}
VERSION=${VERSION:-0.4.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/msgpack/msgpack-python/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-msgpack-python}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
LIBDIRSUFFIX=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
LIBDIRSUFFIX="64"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING ChangeLog.rst README.rst $PKG/usr/doc/$NAME
if type -p sphinx-build ; then
PYTHONPATH=$PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages make -C docs html
cp -r docs/_build/html $PKG/usr/doc/$NAME/html
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/msgpack-python/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler-----------------------------------------------------|
msgpack-python: msgpack-python (MessagePack for Python)
msgpack-python:
msgpack-python: MessagePack is a fast, compact binary serialization format,
msgpack-python: suitable for similar data to JSON. This package provides CPython
msgpack-python: bindings for reading and writing MessagePack data.
msgpack-python:
msgpack-python:
msgpack-python:
msgpack-python:
msgpack-python:
msgpack-python:

1
l/podofo/podofo-0.9.4.tar.gz.sha1

@ -1 +0,0 @@
e91929e0e4c020aee77d6aca5a5af8195888918c podofo-0.9.4.tar.gz

130
l/podofo/podofo.SlackBuild

@ -1,130 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest podofo sourcecode is available at:
# <http://podofo.sourceforge.net/>.
#
# Optional: d/lua
# Source package infos
NAMESRC=${NAMESRC:-podofo}
VERSION=${VERSION:-0.9.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/podofo/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-podofo}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
LIB64=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
LIB64="-DWANT_LIB64=TRUE"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
$LIB64 \
-DMANDIR=man \
-DPODOFO_BUILD_SHARED=TRUE \
-DPODOFO_BUILD_STATIC=FALSE \
..
make -j $JOBS
make install/strip DESTDIR=$PKG
cd ..
# Compress man and info pages
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
rmdir $PKG/usr/share
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS CODINGSTYLE.txt CONTRIBUTIONS.txt COPYING \
COPYING.LIB COPYING.exception ChangeLog FAQ.html README.html TODO \
$PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/podofo/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler-------------------------------------------------------|
podofo: podofo (PDF library and tools)
podofo:
podofo: The PoDoFo library is a free portable C++ library to work with the PDF
podofo: file format and includes also a few tools.
podofo:
podofo:
podofo:
podofo:
podofo:
podofo:
podofo:

1
l/python-mechanize/mechanize-0.3.3.tar.gz.sha256

@ -1 +0,0 @@
cf51c7c61ba11ed51490412d3f19bb2b0d8ab3ffce76a4c3250f4d97c4902f05 mechanize-0.3.3.tar.gz

115
l/python-mechanize/python-mechanize.SlackBuild

@ -1,115 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest mechanize sourcecode is available at:
# <https://github.com/python-mechanize/mechanize>.
# Source package infos
NAMESRC=${NAMESRC:-mechanize}
VERSION=${VERSION:-0.3.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/python-mechanize/mechanize/archive/v$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-python-mechanize}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYRIGHT ChangeLog LICENSE README.rst $PKG/usr/doc/$NAME
if type -p sphinx-build ; then
make -C docs html
cp -r docs/_build/html $PKG/usr/doc/$NAME/html
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/python-mechanize/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler---------------------------------------------|
python-mechanize: python-mechanize (stateful programmatic web browsing)
python-mechanize:
python-mechanize: mechanize.Browser implements the urllib2.OpenerDirector
python-mechanize: interface. Browser objects have state, including navigation
python-mechanize: history, HTML form state, cookies, etc. The set of features
python-mechanize: and URL schemes handled by Browser objects is configurable.
python-mechanize: The library also provides an API that is mostly compatible
python-mechanize: with urllib2: your urllib2 program will likely work if you
python-mechanize: replace "urllib2" with "mechanize" everywhere.
python-mechanize:
python-mechanize:

1
l/python-netifaces/netifaces-0.10.5.tar.gz.sha256

@ -1 +0,0 @@
59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b netifaces-0.10.5.tar.gz

113
l/python-netifaces/python-netifaces.SlackBuild

@ -1,113 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012-2014,2016-2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest netifaces sourcecode is available at:
# <http://alastairs-place.net/projects/netifaces/>.
# Source package infos
NAMESRC=${NAMESRC:-netifaces}
VERSION=${VERSION:-0.10.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.io/packages/source/n/$NAMESRC/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-netifaces}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
;;
*)
CPUOPT="-O2"
;;
esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 PKG-INFO README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
l/python-netifaces/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler---------------------------------------------|
python-netifaces: python-netifaces (portable network interface information)
python-netifaces:
python-netifaces: Netifaces provides a (hopefully portable-ish) way for
python-netifaces: Python programmers to get access to a list of the network
python-netifaces: interfaces on the local machine, and to obtain the
python-netifaces: addresses of those network interfaces.
python-netifaces:
python-netifaces:
python-netifaces:
python-netifaces:
python-netifaces:

1
xap/calibre/calibre-2.85.1.tar.bz2.sha256

@ -1 +0,0 @@
8c8db280c51b26284bff1c066fb503ecef9e1f15f7e2e7b4f705c817ee041abd calibre-2.85.1.tar.bz2

141
xap/calibre/calibre.SlackBuild

@ -1,141 +0,0 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2014,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# 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.
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest calibre sourcecode is available at:
# <http://calibre-ebook.com/>.
#
# Depends: l/dnspython, l/python-cssutils, l/python-dateutil
# Depends: l/msgpack-python, l/pygments, l/pycryptodome, l/apsw, l/libwebp
# Depends: l/python-lxml, l/python-netifaces, l/python-psutil, l/podofo
# Depends: l/PyQt5, ap/optipng, l/easylzma
# Source package infos
NAMESRC=${NAMESRC:-calibre}
VERSION=${VERSION:-2.85.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
# Build infos
NAMEPKG=${NAMEPKG:-calibre}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e # Quit if a command returns non-zero
# Sanity checks
if [ $UID -eq 0 ]; then
echo "You should NOT run this script as ROOT!"
exit 1
fi
if [ ! -d $TMP ]; then
echo "$TMP does not exists or is not a directory!"
exit 1
fi
# Compilation flags
LIBDIRSUFFIX=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2 -fPIC"
LIBDIRSUFFIX="64"
;;
*)
CPUOPT="-O2"
;;
esac
# Get the source archive
if [ ! -f $ARCHIVE ]; then
curl -L http://status.calibre-ebook.com/dist/src > $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install \
--prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX \
--staging-root=$PKG/usr --staging-libdir=$PKG/usr/lib$LIBDIRSUFFIX \
--no-postinstall
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYRIGHT Changelog.old.yaml Changelog.yaml LICENSE \
LICENSE.rtf README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
PyQt5
apsw
dnspython
easylzma
libwebp
msgpack-python
optipng
podofo
pycrypto
pygments
python-cssutils
python-dateutil
python-lxml
python-netifaces
python-psutil
EOF
# Package the tree
cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot
else
su -c "$PACKAGING"
fi

12
xap/calibre/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler------------------------------------------------------|
calibre: calibre (e-book library manager)
calibre:
calibre: Calibre is an e-book library manager. It can view, convert and
calibre: catalog e-books in most of the major e-book formats. It can also talk
calibre: to e-book reader devices. It can go out to the Internet and fetch
calibre: metadata for your books. It can download newspapers and convert them
calibre: into e-books for convenient reading.
calibre:
calibre:
calibre:
calibre:
Loading…
Cancel
Save