[arch-commits] Commit in (eigen eigen/repos eigen/trunk eigen/trunk/PKGBUILD)

Ronald van Haren ronald at nymeria.archlinux.org
Sun Jan 26 08:48:10 UTC 2014


    Date: Sunday, January 26, 2014 @ 09:48:10
  Author: ronald
Revision: 204727

add eigen version3 as a dependency for digikam refocus sharpening FS#36416

Added:
  eigen/
  eigen/repos/
  eigen/trunk/
  eigen/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: eigen/trunk/PKGBUILD
===================================================================
--- eigen/trunk/PKGBUILD	                        (rev 0)
+++ eigen/trunk/PKGBUILD	2014-01-26 08:48:10 UTC (rev 204727)
@@ -0,0 +1,34 @@
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Chirantan Ekbote <chirantan.ekbote at gmail.com>
+# Contributor: Kringel
+
+pkgname=eigen
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra."
+arch=('any')
+url='http://eigen.tuxfamily.org'
+license=('MPL2')
+makedepends=('cmake' 'pkg-config')
+optdepends=('qt4: for example programs'
+    'superlu: optional backend'
+    'scotch: optional backend'
+    'metis: optional backend')
+replaces=('eigen3')
+provides=('eigen3')
+source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2")
+sha1sums=('97de9df52c035dd260ccee6cf6ab09bb559fa441')
+
+build() {
+	mkdir -p build
+	cd build
+	cmake ../eigen-eigen-* \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+	install -Dm644 ../eigen-eigen-*/COPYING.MPL2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


Property changes on: eigen/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list