Browse Source

l/libproxy: Upgraded to libproxy-0.4.6.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
6dd1ce14e7
  1. 1
      l/libproxy/libproxy-0.3.1.tar.bz2.sha1
  2. 1
      l/libproxy/libproxy-0.4.6.tar.gz.sha1
  3. 29
      l/libproxy/libproxy.SlackBuild
  4. 10
      l/libproxy/slack-desc

1
l/libproxy/libproxy-0.3.1.tar.bz2.sha1

@ -1 +0,0 @@
71338ede69b4ed2b32541f7cf5285c8828ad3a8d libproxy-0.3.1.tar.bz2

1
l/libproxy/libproxy-0.4.6.tar.gz.sha1

@ -0,0 +1 @@
6e9745c87b774f34bf53f07a54284c0d72020e94 libproxy-0.4.6.tar.gz

29
l/libproxy/libproxy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009 Damien Goutte-Gattat
# Copyright (C) 2009,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,14 +27,14 @@
# Source package infos
NAMESRC=${NAMESRC:-libproxy}
VERSION=${VERSION:-0.3.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
VERSION=${VERSION:-0.4.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://libproxy.googlecode.com/files/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-libproxy}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -84,18 +84,23 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static \
--without-gnome
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
-DPERL_VENDORINSTALL=yes \
-DCMAKE_CXX_FLAGS="$CPUOPT" \
-DCMAKE_C_FLAGS="$CPUOPT"
make -j $JOBS
make install-strip DESTDIR=$PKG
make install DESTDIR=$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/$NAME
cd ..
install -m 644 AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$NAME
# Copy slack-desc file

10
l/libproxy/slack-desc

@ -1,11 +1,11 @@
|-----handy-ruler-----------------------------------------------------|
libproxy: libproxy (automatic proxy configuration management)
libproxy:
libproxy: Because reading a few environment variables is *so* difficult that
libproxy: some developers need an external library to do it...
libproxy:
libproxy:
libproxy:
libproxy: Libproxy offers the following features: extremely small core
libproxy: footprint (< 35K); no external dependencies within libproxy core;
libproxy: only 3 functions in the stable external API; dynamic adjustement
libproxy: to changing network topology; a standard way of dealing with proxy
libproxy: settings across all scenarios.
libproxy:
libproxy:
libproxy:

Loading…
Cancel
Save