wok-current annotate opencpn/receipt @ rev 3209
added opencpn a Concise chart/plotter Navigator
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 12:22:52 2009 +0000 (2009-05-28) |
parents | |
children | b745c9a1ec09 |
rev | line source |
---|---|
allan316@3209 | 1 # SliTaz package receipt. |
allan316@3209 | 2 |
allan316@3209 | 3 PACKAGE="opencpn" |
allan316@3209 | 4 VERSION="1.2.8" |
allan316@3209 | 5 CATEGORY="Utilities" |
allan316@3209 | 6 SHORT_DESC="A concise Chart/plotter Navigator" |
allan316@3209 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3209 | 8 DEPENDS="wxWidgets mesa libglu libgl" |
allan316@3209 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3209 | 10 WEB_SITE="http://opencpn.sourceforge.net" |
allan316@3209 | 11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
allan316@3209 | 12 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa" |
allan316@3209 | 13 # Rules to configure and make the package. |
allan316@3209 | 14 compile_rules() |
allan316@3209 | 15 { |
allan316@3209 | 16 cd $src |
allan316@3209 | 17 ./configure \ |
allan316@3209 | 18 --prefix=/usr \ |
allan316@3209 | 19 --infodir=/usr/share/info \ |
allan316@3209 | 20 --mandir=/usr/share/man \ |
allan316@3209 | 21 $CONFIGURE_ARGS && |
allan316@3209 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@3209 | 23 } |
allan316@3209 | 24 |
allan316@3209 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3209 | 26 genpkg_rules() |
allan316@3209 | 27 { |
allan316@3209 | 28 mkdir -p $fs/usr |
allan316@3209 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3209 | 30 cp -a $_pkg/usr/share $fs/usr |
allan316@3209 | 31 } |
allan316@3209 | 32 |