diff options
author | Cristiano Urban <cristiano.urban.slack@gmail.com> | 2017-07-18 16:32:10 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-22 06:56:02 +0700 |
commit | 761acf322d8e3afc7791bb5303588a4047dca666 (patch) | |
tree | 0e14771cc7ebee3b55ec467beabcc9ab1d995496 | |
parent | 620777f1f9a6c5136e582aa3cd01107b9641c26e (diff) |
development/cppcms: Updated for version 1.1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | development/cppcms/cppcms.SlackBuild | 11 | ||||
-rw-r--r-- | development/cppcms/cppcms.info | 6 |
2 files changed, 11 insertions, 6 deletions
diff --git a/development/cppcms/cppcms.SlackBuild b/development/cppcms/cppcms.SlackBuild index e7c11019a302..5926ad6487eb 100644 --- a/development/cppcms/cppcms.SlackBuild +++ b/development/cppcms/cppcms.SlackBuild @@ -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 diff --git a/development/cppcms/cppcms.info b/development/cppcms/cppcms.info index 6672833a04c6..2f1c4cfc53a4 100644 --- a/development/cppcms/cppcms.info +++ b/development/cppcms/cppcms.info @@ -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="" |