After the changes made to pacman (since version 4.2) it is necessary to tell cmake where to install libraries. The build section in PKGBUILD should look like this to avoid an installation error:
build() {
cd $srcdir/SFCGAL-$pkgver
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSFCGAL_BUILD_VIEWER=1 \
-DSFCGAL_BUILD_EXAMPLES=1 \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DSFCGAL_BUILD_TEST=1 .
make
}
Search Criteria
Package Details: sfcgal 1.0.5-2
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-06-17)
| Package Base: | sfcgal |
|---|---|
| Description: | Wrapper around the CGAL library that intents to implement 2D and 3D operations on OGC standards models |
| Upstream URL: | http://oslandia.github.io/SFCGAL/index.html |
| Category: | devel |
| Licenses: | |
| Submitter: | albertid |
| Maintainer: | albertid |
| Last Packager: | albertid |
| Votes: | 3 |
| First Submitted: | 2013-10-21 08:10 |
| Last Updated: | 2014-11-19 21:02 |
Required by (1)
Sources
Latest Comments
Comment by meierphi
Comment by albertid
Done
Comment by geosam
Is posible @albertid add the viewer and examples:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSFCGAL_BUILD_VIEWER=1 \
-DSFCGAL_BUILD_EXAMPLES=1 \
-DSFCGAL_BUILD_TEST=1