From 47b288802ecfcb9374f0fda8c01a87fc9ae733eb Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 30 Apr 2015 12:37:07 -0500 Subject: laszip-2.2.0-1: add new package to [pcr] --- pcr/laszip/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pcr/laszip/PKGBUILD (limited to 'pcr') diff --git a/pcr/laszip/PKGBUILD b/pcr/laszip/PKGBUILD new file mode 100644 index 000000000..107966e3a --- /dev/null +++ b/pcr/laszip/PKGBUILD @@ -0,0 +1,41 @@ +# Contributor (Arch) : Maciej Sieczka +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +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 +} -- cgit v1.2.3-2-g168b