diff options
author | Eric Hameleers <alien@slackware.com> | 2008-10-22 20:01:29 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-10-22 20:01:29 +0000 |
commit | 5d8e4e45d3303dd887591499bf85314c8a3db762 (patch) | |
tree | fd1b313e0ca888833cd29afbebb4ea00d90eea33 /sqlite/build/sqlite.SlackBuild | |
parent | 33e0dc82c3daad81a1cd15c03ad7096519bf2cf6 (diff) | |
download | asb-5d8e4e45d3303dd887591499bf85314c8a3db762.tar.gz asb-5d8e4e45d3303dd887591499bf85314c8a3db762.tar.xz |
Updated to 3.6.4
Diffstat (limited to 'sqlite/build/sqlite.SlackBuild')
-rwxr-xr-x | sqlite/build/sqlite.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sqlite/build/sqlite.SlackBuild b/sqlite/build/sqlite.SlackBuild index 462b140b..424cbf2f 100755 --- a/sqlite/build/sqlite.SlackBuild +++ b/sqlite/build/sqlite.SlackBuild @@ -24,15 +24,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sqlite -VERSION=3.6.3 +VERSION=3.6.4 ARCH=${ARCH:-x86_64} NUMJOBS=${NUMJOBS:-" -j7 "} BUILD=${BUILD:-1} -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PRGNAM - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -44,6 +40,10 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PRGNAM + rm -rf $PKG mkdir -p $TMP $PKG cd $TMP @@ -74,8 +74,8 @@ CXXFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | grep -e "executable" -e "shared object" \ + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # Add missed man page: install -D -m 0644 sqlite3.1 $PKG/usr/man/man1/sqlite3.1 |