summaryrefslogtreecommitdiff
path: root/community/ogre
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
committerroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
commit01b47af6474ac094ec199c7d75208874f8842d87 (patch)
tree44a048d09e5233a98d35c660e67be2a818832a56 /community/ogre
parentbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff)
Tue May 10 22:33:36 UTC 2011
Diffstat (limited to 'community/ogre')
-rw-r--r--community/ogre/PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/community/ogre/PKGBUILD b/community/ogre/PKGBUILD
index 1ad80ba86..9efa8a699 100644
--- a/community/ogre/PKGBUILD
+++ b/community/ogre/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 40996 2011-03-03 04:00:57Z svenstaro $
+# $Id: PKGBUILD 46578 2011-05-09 16:26:46Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgbase=ogre
pkgname=('ogre' 'ogre-docs')
-pkgver=1.7.2
-pkgrel=5
+pkgver=1.7.3
+pkgrel=1
pkgdesc="A scene-oriented, flexible 3D engine written in C++"
arch=('i686' 'x86_64')
url='http://www.ogre3d.org'
@@ -13,10 +13,11 @@ depends=('boost-libs' 'freeimage' 'freetype2' 'libxaw' 'libxrandr'
makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu')
optdepends=('cppunit: unit testing'
'intel-tbb: better threading support'
- 'poco: portability')
+ 'poco: portability'
+ 'boost: for developing using ogre')
install=ogre.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}_src_v${pkgver//./-}.tar.bz2")
-md5sums=('dd6574b8d906a74950c1e05633b2e96f')
+md5sums=('7a85d3b8f0d64debd186e48ebe9556aa')
build() {
cd ${srcdir}/${pkgname}_src_v${pkgver//./-}
@@ -28,13 +29,13 @@ build() {
# generate CMake Makefile
cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \
- -DOGRE_INSTALL_SAMPLES=TRUE \
- -DOGRE_INSTALL_DOCS=TRUE \
- -DOGRE_INSTALL_MEDIA=TRUE \
- -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
- -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \
+ -DOGRE_INSTALL_SAMPLES=TRUE \
+ -DOGRE_INSTALL_DOCS=TRUE \
+ -DOGRE_INSTALL_MEDIA=TRUE \
+ -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
+ -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version
# compile
make
@@ -73,7 +74,8 @@ package_ogre() {
package_ogre-docs() {
pkgdesc="Documentation for ogre"
depends=()
- cd ${srcdir}/${pkgname}_src_v${pkgver//./-}/build
+
+ cd ${srcdir}/${pkgbase}_src_v${pkgver//./-}/build
# move docs into this package
install -dm755 ${pkgdir}/usr/share/doc