setvar pkgname = 'mapnik' setvar pkgver = '3.0.0_rc1' setvar _ver = ${pkgver/_rc/-rc} setvar pkgrel = '1' setvar pkgdesc = ""Toolkit and API for developing mapping application"" setvar url = ""http://mapnik.org/"" setvar arch = ""all"" setvar license = ""LGPL"" setvar options = """" setvar depends = ""python ttf-dejavu"" setvar makedepends = ""freetype-dev libxml2-dev zlib-dev icu-dev proj4-dev libjpeg-turbo-dev libpng-dev tiff-dev boost-dev sqlite-dev postgresql-dev cairo-dev py-cairo-dev harfbuzz-dev"" setvar subpackages = ""$pkgname-dev"" setvar source = ""$pkgname-$_ver.tar.gz::https://github.com/mapnik/mapnik/archive/v$_ver.tar.gz boost-1.57-geojson.patch "" setvar _builddir = ""$srcdir"/$pkgname-$_ver" proc prepare { cd $_builddir || return 1 for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python scons/scons.py sh configure -j ${JOBS:-1} \ DESTDIR="$pkgdir" \ SYSTEM_FONTS="/usr/share/fonts/TTF/" \ CUSTOM_CFLAGS="$CFLAGS" \ CUSTOM_LDFLAGS="$LDFLAGS" \ PREFIX="/usr" \ || return 1 make } proc package { cd $_builddir make install || return 1 } setvar md5sums = ""c7231574639ec2688d957831a5c16341 mapnik-3.0.0-rc1.tar.gz 15fbf2b3478699f1d2f9c7c1f10256ab boost-1.57-geojson.patch"" setvar sha256sums = ""b4aef9a5910b25cb694b1a67beaf3e8dfbd4d629615d5012eb2378f39a63b379 mapnik-3.0.0-rc1.tar.gz f2b49482abd85d62e80cef5602890385d4c39aa67a2a4d9341af83bc4485b32d boost-1.57-geojson.patch"" setvar sha512sums = ""00fd5479424dc06c9e22e201495fe6a178e5f656445bb5739045c87eda7985bad1598e1eb34bc9bcce6cae2b72200489728a059ba08f32283ddc45dd8d6dc47b mapnik-3.0.0-rc1.tar.gz 88d830765b7c1404f9b14ca165b1dd546ba3da2fd69c89786cc80a24147acb5807f1bc0b8e5b7d55eadd9d18d3530fc14b254822984856508c04a22e2a14f978 boost-1.57-geojson.patch""