summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 12:37:07 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 12:37:07 -0500
commit47b288802ecfcb9374f0fda8c01a87fc9ae733eb (patch)
tree491bac4f1dfcb07070528bf0952d99f0129a7dac
parentec6f9365968984c15d6becc44b146cb1ba1a9102 (diff)
laszip-2.2.0-1: add new package to [pcr]
-rw-r--r--pcr/laszip/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
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 <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
+}