Browse Source

l/apsw: Upgraded to apsw-3.13.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
7a03d64ba4
  1. 1
      l/apsw/apsw-3.13.0-r1.tar.gz.sha1
  2. 1
      l/apsw/apsw-3.7.17-r1.zip.sha1
  3. 16
      l/apsw/apsw.SlackBuild

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

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

1
l/apsw/apsw-3.7.17-r1.zip.sha1

@ -1 +0,0 @@
fb196c3029ec0310610a773411c793a0f142a7ab apsw-3.7.17-r1.zip

16
l/apsw/apsw.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013 Damien Goutte-Gattat
# 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:
@ -23,13 +23,13 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest apsw sourcecode is available at:
# <http://code.google.com/p/apsw/>.
# <https://github.com/rogerbinns/apsw>.
# Source package infos
NAMESRC=${NAMESRC:-apsw}
VERSION=${VERSION:-3.7.17}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-r1.zip}
WGET=${WGET:-http://apsw.googlecode.com/files/$ARCHIVE}
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}
@ -81,7 +81,7 @@ NAME=$NAMESRC-$VERSION-r1
# Compile
cd $TMP
echo "Building $ARCHIVE..."
unzip $CWD/$ARCHIVE
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
@ -93,8 +93,8 @@ 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
cp -r doc $PKG/usr/doc/$NAMEPKG-$VERSION
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

Loading…
Cancel
Save