wok rev 20627
navit: add EXTRA_SOURCE_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 01 13:07:25 2019 +0100 (2019-01-01) |
parents | 0f7e6289846d |
children | 506815acfe84 |
files | navit/receipt |
line diff
1.1 --- a/navit/receipt Mon Dec 31 22:00:24 2018 +0100 1.2 +++ b/navit/receipt Tue Jan 01 13:07:25 2019 +0100 1.3 @@ -9,6 +9,7 @@ 1.4 WEB_SITE="http://www.navit-project.org/" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 +EXTRA_SOURCE_FILES="osm_bbox_11.3,47.9,11.7,48.2.osm.bz2" 1.8 1.9 DEPENDS="glib glibc-base libpostgresqlclient zlib" 1.10 BUILD_DEPENDS="mesa-dev freeglut-dev quesoglc-dev freeimage-dev \ 1.11 @@ -19,9 +20,13 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] && 1.16 + cp $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES navit/maps/ 1.17 ./configure $CONFIGURE_ARGS && 1.18 make && 1.19 make DESTDIR=$DESTDIR install 1.20 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || 1.21 + cp navit/maps/$EXTRA_SOURCE_FILES $SOURCES_REPOSITORY/ 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg.