wok-next view postgis/receipt @ rev 20557

Remove *.la files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:01:14 2018 +0300 (2018-04-07)
parents d43bf7aae921
children 10df65db91ad
line source
1 # SliTaz package receipt v2.
3 PACKAGE="postgis"
4 VERSION="2.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="Support for geographic objects to PostgreSQL"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://postgis.refractions.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.osgeo.org/postgis/source/$TARBALL"
14 BUILD_DEPENDS="postgresql-dev geos-dev proj-dev libxml2-dev \
15 gtk+-dev gdal-dev jasper-dev curl-dev libpostgresqlclient tiff"
16 SPLIT="postgis-gui postgis"
18 compile_rules() {
19 touch config.rpath
21 ./configure \
22 --with-gui \
23 $CONFIGURE_ARGS &&
24 make -j1 &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 postgis-gui)
31 copy shp2pgsql-gui
32 CAT="misc|GUI"
33 DEPENDS="gtk+ postgis"
34 ;;
35 postgis)
36 copy @std @rm
37 DEPENDS="geos proj libpostgresqlclient libxml2 libgdal"
38 ;;
39 esac
40 }