29 lines
717 B
Bash
29 lines
717 B
Bash
# Template file for 'shapelib'
|
|
pkgname=shapelib
|
|
version=1.6.0
|
|
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=19528b24377241705637320c367943031ad5088665d1fb0e1eaa52a71264a6c4
|
|
|
|
shapelib-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/shapelib/*.cmake
|
|
}
|
|
}
|
|
|
|
shapelib-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|