diff options
Diffstat (limited to 'network/vpnc/vpnc.SlackBuild')
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 961e1a03ef..645d6a51e0 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -31,26 +31,27 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuild Project. - -set -e +# Modified by the SlackBuilds.org Project. PRGNAM=vpnc VERSION=0.5.1 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -60,6 +61,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Build with openssl support -- do NOT distribute binaries of this +sed -i '/^#OPENSSL/s/^#//g' Makefile + make CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man |