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