|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
# Build script for Slackware
|
|
|
|
|
# Copyright (C) 2009 Damien Goutte-Gattat
|
|
|
|
|
# Copyright (C) 2009,2012 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:-cadaver}
|
|
|
|
|
VERSION=${VERSION:-0.23.2}
|
|
|
|
|
VERSION=${VERSION:-0.23.3}
|
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
|
|
|
|
WGET=${WGET:-http://www.webdav.org/cadaver/$ARCHIVE}
|
|
|
|
|
|
|
|
|
|
# Build infos
|
|
|
|
|
NAMEPKG=${NAMEPKG:-cadaver}
|
|
|
|
|
BUILD=${BUILD:-1GGD}
|
|
|
|
|
ARCH=${ARCH:-i486}
|
|
|
|
|
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
|
|
|
|
|
JOBS=${JOBS:-1}
|
|
|
|
|
EXT=${EXT:-txz}
|
|
|
|
|
|
|
|
|
@ -88,7 +88,7 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--mandir=/usr/man \
|
|
|
|
|
--disable-debugging \
|
|
|
|
|
--enable-threads
|
|
|
|
|
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
|
make -j $JOBS
|
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
|
|
|
|
|
|