blob: 107966e3a74173c00c0123e489b17aedc9d92d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor (Arch) : Maciej Sieczka <msieczka at sieczka dot org>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname='laszip'
pkgver='2.2.0'
pkgrel='1'
pkgdesc='ASPRS LAS lossless compression library.'
arch=('i686' 'x86_64')
url='http://www.laszip.org'
license=('LGPL2.1')
provides=("$pkgname")
source=("http://download.osgeo.org/laszip/laszip-src-2.2.0.tar.bz2")
md5sums=('93194700623f6aca470454299361e89d')
build() {
cd "${srcdir}/laszip-src-2.2.0"
msg 'Configuring build...'
./configure --prefix='/usr' --includedir="/usr/include/${pkgname}"
# mkdir makefiles
# cd makefiles/
# cmake -D CMAKE_INSTALL_PREFIX="${pkgdir}/usr" -G 'Unix Makefiles' ../
# To provide a usefull stacktrace:
#
# CFLAGS="-O0 -ggdb -Wall -Werror-implicit-function-declaration -fexceptions"
# CXXFLAGS="-O0 -ggdb -Wall -Werror-implicit-function-declaration -fexceptions"
# options=(!strip)
# Not sure if -Werror-implicit-function-declaration -fexceptions should really go to CXXFLAGS.
# Let me know if you know.
msg 'Building...'
make
}
package() {
cd "${srcdir}/laszip-src-2.2.0"
make DESTDIR="$pkgdir" install
# cd "${srcdir}/${pkgname}-${pkgver}/makefiles"
# make install
}
|