New package: shapelib-1.4.1

This commit is contained in:
Piotr Wójcik 2018-07-31 18:25:20 +02:00 committed by maxice8
parent 977f988265
commit 8a81f5273e
5 changed files with 52 additions and 0 deletions

View file

@ -3387,3 +3387,4 @@ libaom.so.0 libaom-1.0.0_1
libre.so re-0.5.8_1
libspandsp.so.2 spandsp-0.0.6_1
librem.so rem-0.5.3_1
libshp.so.1 shapelib-1.4.1_1

1
srcpkgs/shapelib-devel Symbolic link
View file

@ -0,0 +1 @@
shapelib

1
srcpkgs/shapelib-tools Symbolic link
View file

@ -0,0 +1 @@
shapelib

View file

@ -0,0 +1,21 @@
diff --git CMakeLists.txt CMakeLists.txt
index c3ef935..4b0e65c 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -53,11 +53,11 @@ set(
CACHE PATH "install location for user executables"
)
-set(
- CMAKE_INSTALL_LIBDIR
- ${CMAKE_INSTALL_PREFIX}/lib
- CACHE PATH "install location for object code libraries"
- )
+# set(
+# CMAKE_INSTALL_LIBDIR
+# ${CMAKE_INSTALL_PREFIX}/lib
+# CACHE PATH "install location for object code libraries"
+# )
set(
CMAKE_INSTALL_INCLUDEDIR

28
srcpkgs/shapelib/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'shapelib'
pkgname=shapelib
version=1.4.1
revision=1
build_style=cmake
short_desc="Library for reading and writing of ESRI Shapefiles"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="LGPL-2.0-only"
homepage="http://shapelib.maptools.org/"
distfiles="http://download.osgeo.org/shapelib/shapelib-${version}.tar.gz"
checksum=a4c94817365761a3a4c21bb3ca1c680a6bdfd3edd61df9fdd291d3e7645923b3
shapelib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share/shp
}
}
shapelib-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}