wok view navit/receipt @ rev 23175
updated meson (0.50.1 -> 0.53.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 18 11:06:48 2020 +0100 (2020-03-18) |
parents | 834e572bb395 |
children | afae00265386 |
line source
1 # SliTaz package receipt.
3 PACKAGE="navit"
4 VERSION="0.2.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Navit is a car navigation system with routing engine."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.navit-project.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 EXTRA_SOURCE_FILES="osm_bbox_11.3,47.9,11.7,48.2.osm.bz2"
14 DEPENDS="glib glibc-base libpostgresqlclient zlib"
15 BUILD_DEPENDS="mesa-dev freeglut-dev quesoglc-dev freeimage-dev \
16 imagemagick-dev xorg-libXpm-dev xorg-libXmu-dev gtk+-dev libsdl-dev \
17 libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \
18 xorg-libXi-dev openssl-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] &&
24 cp $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES navit/maps/
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
29 cp navit/maps/$EXTRA_SOURCE_FILES $SOURCES_REPOSITORY/
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -f $fs/usr/lib/*.la
37 rm -rf $fs/usr/share/man
38 }