wok-next view geos/receipt @ rev 19948

Up ghostscript (9.22) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 12:07:55 2017 +0200 (2017-10-16)
parents fe9e51a734b0
children 8014569962ac
line source
1 # SliTaz package receipt.
3 PACKAGE="geos"
4 VERSION="3.5.0"
5 CATEGORY="misc"
6 SHORT_DESC="Geometry Engine, Open Source."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://trac.osgeo.org/geos/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://download.osgeo.org/geos/$TARBALL"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/cmath/math.h/;s/isnan(/std::&/' configure
20 sed -i 's/(isnan(x))/(std::isnan(x))/' include/geos/platform.h.in
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }