wok-6.x annotate navit/receipt @ rev 21459
ttf-dejavu*: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 30 09:31:34 2019 +0200 (2019-04-30) |
parents | 834e572bb395 |
children | afae00265386 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="navit" |
pascal@13591 | 4 VERSION="0.2.0" |
pascal@13591 | 5 CATEGORY="utilities" |
al@20422 | 6 SHORT_DESC="Navit is a car navigation system with routing engine." |
pascal@13591 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15022 | 8 LICENSE="GPL2" |
pascal@20671 | 9 WEB_SITE="https://www.navit-project.org/" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@20627 | 12 EXTRA_SOURCE_FILES="osm_bbox_11.3,47.9,11.7,48.2.osm.bz2" |
pascal@13591 | 13 |
pascal@13591 | 14 DEPENDS="glib glibc-base libpostgresqlclient zlib" |
pascal@13591 | 15 BUILD_DEPENDS="mesa-dev freeglut-dev quesoglc-dev freeimage-dev \ |
pascal@13591 | 16 imagemagick-dev xorg-libXpm-dev xorg-libXmu-dev gtk+-dev libsdl-dev \ |
pascal@13591 | 17 libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \ |
pascal@13591 | 18 xorg-libXi-dev openssl-dev" |
pascal@13591 | 19 |
pascal@13591 | 20 # Rules to configure and make the package. |
pascal@13591 | 21 compile_rules() |
pascal@13591 | 22 { |
pascal@20627 | 23 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] && |
pascal@20627 | 24 cp $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES navit/maps/ |
pascal@13796 | 25 ./configure $CONFIGURE_ARGS && |
pascal@13796 | 26 make && |
pascal@13591 | 27 make DESTDIR=$DESTDIR install |
pascal@20627 | 28 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || |
pascal@20627 | 29 cp navit/maps/$EXTRA_SOURCE_FILES $SOURCES_REPOSITORY/ |
pascal@13591 | 30 } |
pascal@13591 | 31 |
pascal@13591 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 33 genpkg_rules() |
pascal@13591 | 34 { |
pascal@13591 | 35 cp -a $install/* $fs |
pascal@13591 | 36 rm -f $fs/usr/lib/*.la |
pascal@13591 | 37 rm -rf $fs/usr/share/man |
pascal@13591 | 38 } |