From 07816f748f3302d389e167db6a90c191abb083b8 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Tue, 12 Nov 2013 19:09:59 -0600 Subject: libraries/CEGUI: Updated for version 0.8.2. Signed-off-by: Robby Workman --- libraries/CEGUI/CEGUI.SlackBuild | 38 ++++++++++++++++++++------------------ libraries/CEGUI/CEGUI.info | 8 ++++---- 2 files changed, 24 insertions(+), 22 deletions(-) (limited to 'libraries/CEGUI') diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild index 67858bd684ce8..e9454cab13f1c 100644 --- a/libraries/CEGUI/CEGUI.SlackBuild +++ b/libraries/CEGUI/CEGUI.SlackBuild @@ -3,11 +3,13 @@ # Slackware build script for CEGUI # Written by Phil Warner # Modified by Robby Workman +# Modified by Dave Woodfall PRGNAM=CEGUI -VERSION=${VERSION:-0.7.7} +SRCNAM=cegui +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -41,9 +43,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -51,24 +53,24 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --disable-debug - -make force_arch="$ARCH" -make install DESTDIR=$PKG +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DMAN_INSTALL_DIR=/usr/man \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd doc -cp \ - COPYING GLEW-LICENSE PCRE-LICENSE README TinyXML-License stringencoders-license \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a doc *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/CEGUI/CEGUI.info b/libraries/CEGUI/CEGUI.info index 4f9ad952a2db8..b022265333d0a 100644 --- a/libraries/CEGUI/CEGUI.info +++ b/libraries/CEGUI/CEGUI.info @@ -1,8 +1,8 @@ PRGNAM="CEGUI" -VERSION="0.7.7" -HOMEPAGE="http://www.cegui.org.uk/wiki/index.php/Main_Page" -DOWNLOAD="http://downloads.sourceforge.net/project/crayzedsgui/CEGUI%20Mk-2/0.7.7/CEGUI-0.7.7.tar.gz" -MD5SUM="8b83577f86eaa1581765dd155c7c8f24" +VERSION="0.8.2" +HOMEPAGE="http://cegui.org.uk/wiki/Main_Page" +DOWNLOAD="http://downloads.sourceforge.net/project/crayzedsgui/CEGUI%20Mk-2/0.8/cegui-0.8.2.tar.gz" +MD5SUM="f72951f0cc0374bb2294035cb639bb83" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%" -- cgit v1.2.3