development/cppcms: Updated for version 1.1.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Cristiano Urban 2017-07-18 16:32:10 +01:00 committed by Willy Sudiarto Raharjo
parent 620777f1f9
commit 761acf322d
2 changed files with 11 additions and 6 deletions

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cppcms
VERSION=${VERSION:-1.0.5}
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -76,13 +76,18 @@ else
FLAG="ON"
fi
# LIB_SUFFIX isn't supported :(
sed -i \
-e "s/set(LIBDIR lib /set(LIBDIR lib$LIBDIRSUFFIX /" \
-e "s/PREFIX \"lib\")/PREFIX \"lib$LIBDIRSUFFIX\")/" \
CMakeLists.txt
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DDISABLE_STATIC=$FLAG \
-DCMAKE_BUILD_TYPE=Release ..
make

View file

@ -1,8 +1,8 @@
PRGNAM="cppcms"
VERSION="1.0.5"
VERSION="1.1.0"
HOMEPAGE="http://cppcms.com"
DOWNLOAD="http://sourceforge.net/projects/cppcms/files/cppcms/1.0.5/cppcms-1.0.5.tar.bz2"
MD5SUM="d668c201dd31fff8090380ebdc0bcc2b"
DOWNLOAD="https://github.com/artyom-beilis/cppcms/archive/v1.1.0/cppcms-1.1.0.tar.gz"
MD5SUM="ef9fd6dd06fe07beb33b1b427a26534c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""