[arch-commits] Commit in assimp/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Aug 13 14:27:58 UTC 2013
Date: Tuesday, August 13, 2013 @ 16:27:57
Author: svenstaro
Revision: 95537
Prepare next release
Modified:
assimp/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-13 13:14:15 UTC (rev 95536)
+++ PKGBUILD 2013-08-13 14:27:57 UTC (rev 95537)
@@ -7,18 +7,19 @@
pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner"
arch=('i686' 'x86_64')
license=('BSD')
-depends=('libxmu' 'zlib' 'freeglut')
+depends=('freeglut' 'zlib' 'gcc-libs')
makedepends=('cmake' 'boost')
url=('http://assimp.sourceforge.net/index.html')
source=("http://downloads.sourceforge.net/assimp/assimp--$pkgver-source-only.zip")
md5sums=('52aa4cf4e34e6b2a9c5f6c0b3c319af1')
build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgname}--${pkgver}-source-only \
- -DCMAKE_INSTALL_PREFIX=/usr
+ cd ${srcdir}/${pkgname}--${pkgver}-source-only
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DASSIMP_BUILD_SAMPLES=ON
make
}
More information about the arch-commits
mailing list