diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-27 15:05:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-17 08:19:19 +0700 |
commit | 4a7048dd8100040acae38be5e69223403de371ef (patch) | |
tree | f9ade8a184e1ef42b9c95d6e41784ee5f08709cb /libraries/ogre/ogre.SlackBuild | |
parent | 426ad673c31ae7d9a2b499fec532ca7526eeb629 (diff) |
libraries/ogre: Updated for version 1.12.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ogre/ogre.SlackBuild')
-rw-r--r-- | libraries/ogre/ogre.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild index 958cc17e2bed5..37b921129a7ea 100644 --- a/libraries/ogre/ogre.SlackBuild +++ b/libraries/ogre/ogre.SlackBuild @@ -25,13 +25,10 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ogre -VERSION=${VERSION:-1.9} -BUILD=${BUILD:-6} +VERSION=${VERSION:-1.12.9} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM="${PRGNAM}_src_v${VERSION//./-}" -SRCNAM="sinbad-ogre-6e05fa641af2" # This is just temporary - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -70,9 +67,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM -tar xvf $CWD/$SRCNAM.tar.bz2 || tar xvf $CWD/v$(echo $VERSION | tr . -).tar.bz2 -cd $SRCNAM +rm -rf $PRGNAM-$VERSION +unzip $CWD/$PRGNAM-$VERSION.zip +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,12 +80,14 @@ find -L . \ mkdir build cd build CXXFLAGS+=' -Wno-deprecated-declarations' \ - cmake -DCMAKE_INSTALL_PREFIX=/usr \ + /opt/cmake-202x/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \ -DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \ -DOGRE_INSTALL_SAMPLES=$OGRE_BUILD_SAMPLES \ -DOGRE_INSTALL_DOCS=$OGRE_INSTALL_DOCS \ + -DOGRE_BUILD_DEPENDENCIES=FALSE \ + -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \ ../ make @@ -99,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS BuildingOgre.txt COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |