wok annotate navit/receipt @ rev 24428
updated cmus (2.8.0 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 14:59:37 2022 +0100 (2022-02-12) |
parents | 6e8b1bcb30e2 |
children | dcb071a5e9e6 |
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@24402 | 20 # What is the latest version available today? |
pascal@24402 | 21 current_version() |
pascal@24402 | 22 { |
pascal@24402 | 23 wget -O - https://sourceforge.net/projects/navit/files/ 2>/dev/null | \ |
pascal@24402 | 24 sed '/scope="row/!d;s|.*/files/v\.*||;s|/.*||;q' |
pascal@24402 | 25 } |
pascal@24402 | 26 |
pascal@13591 | 27 # Rules to configure and make the package. |
pascal@13591 | 28 compile_rules() |
pascal@13591 | 29 { |
pascal@20627 | 30 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] && |
pascal@20627 | 31 cp $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES navit/maps/ |
pascal@13796 | 32 ./configure $CONFIGURE_ARGS && |
pascal@13796 | 33 make && |
pascal@13591 | 34 make DESTDIR=$DESTDIR install |
pascal@20627 | 35 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || |
pascal@20627 | 36 cp navit/maps/$EXTRA_SOURCE_FILES $SOURCES_REPOSITORY/ |
pascal@13591 | 37 } |
pascal@13591 | 38 |
pascal@13591 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 40 genpkg_rules() |
pascal@13591 | 41 { |
pascal@13591 | 42 cp -a $install/* $fs |
pascal@13591 | 43 rm -f $fs/usr/lib/*.la |
pascal@13591 | 44 rm -rf $fs/usr/share/man |
pascal@13591 | 45 } |