wok annotate navit/receipt @ rev 15625
nut: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 16:00:02 2013 +0000 (2013-12-08) |
parents | 6b09507225ec |
children | c86e41198e76 |
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" |
pascal@13591 | 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@13591 | 9 WEB_SITE="http://www.navit-project.org/" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="glib glibc-base libpostgresqlclient zlib" |
pascal@13591 | 14 BUILD_DEPENDS="mesa-dev freeglut-dev quesoglc-dev freeimage-dev \ |
pascal@13591 | 15 imagemagick-dev xorg-libXpm-dev xorg-libXmu-dev gtk+-dev libsdl-dev \ |
pascal@13591 | 16 libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \ |
pascal@13591 | 17 xorg-libXi-dev openssl-dev" |
pascal@13591 | 18 |
pascal@13591 | 19 # Rules to configure and make the package. |
pascal@13591 | 20 compile_rules() |
pascal@13591 | 21 { |
pascal@13796 | 22 ./configure $CONFIGURE_ARGS && |
pascal@13796 | 23 make && |
pascal@13591 | 24 make DESTDIR=$DESTDIR install |
pascal@13591 | 25 } |
pascal@13591 | 26 |
pascal@13591 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 28 genpkg_rules() |
pascal@13591 | 29 { |
pascal@13591 | 30 cp -a $install/* $fs |
pascal@13591 | 31 rm -f $fs/usr/lib/*.la |
pascal@13591 | 32 rm -rf $fs/usr/share/man |
pascal@13591 | 33 } |