28 lines
704 B
Bash
28 lines
704 B
Bash
# 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
|
|
}
|
|
}
|