mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
removed community/cgal
This commit is contained in:
parent
047d2f10f7
commit
a54dcc8f89
1 changed files with 0 additions and 45 deletions
|
@ -1,45 +0,0 @@
|
||||||
# $Id$
|
|
||||||
# Maintainer: Kyle Keen <keenerd@gmail.com>
|
|
||||||
# Contributor: Dmitriy Morozov <foxcub>
|
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# - qt5-svg for aarch64 only due to build issue with Qt GLES
|
|
||||||
|
|
||||||
pkgname=cgal
|
|
||||||
pkgver=4.11
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Computational Geometry Algorithms Library"
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://www.cgal.org"
|
|
||||||
license=('GPL' 'LGPL')
|
|
||||||
source=("https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$pkgver/CGAL-$pkgver.tar.xz")
|
|
||||||
depends=('mpfr' 'gmp' 'mesa' 'glu' 'boost-libs')
|
|
||||||
optdepends=('eigen: for some packages, see the CGAL manual')
|
|
||||||
optdepends_aarch64=('qt5-svg: for CGAL_Qt5')
|
|
||||||
makedepends=('cmake' 'eigen' 'boost')
|
|
||||||
makedepends_aarch64=('qt5-svg')
|
|
||||||
md5sums=('0e9566046e402f8dc514caef11155864')
|
|
||||||
|
|
||||||
# consider building with swig for python stuff
|
|
||||||
# https://gforge.inria.fr/frs/?group_id=52 for _pkgid
|
|
||||||
|
|
||||||
# 4.8 supposedly does not depend on boost? good luck...
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/CGAL-$pkgver"
|
|
||||||
mkdir -p build
|
|
||||||
cd build
|
|
||||||
cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/CGAL-$pkgver/build"
|
|
||||||
make install DESTDIR="$pkgdir"
|
|
||||||
|
|
||||||
# The tarball still has all these licenses included
|
|
||||||
for _license in LICENSE{,.FREE_USE,.GPL,.LGPL}; do
|
|
||||||
install -D -m644 "$srcdir/CGAL-$pkgver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue