wok view opencpn/receipt @ rev 4710
Add: python-pyprotocols (PEP 246 and a whole lot more)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 04 18:40:28 2010 +0100 (2010-01-04) |
parents | b745c9a1ec09 |
children | 6ec17b55b59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="opencpn"
4 VERSION="1.3.2"
5 CATEGORY="utilities"
6 SHORT_DESC="A concise Chart/plotter Navigator"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="wxWidgets mesa libglu libgl"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://opencpn.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
12 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 busybox patch -p0 -i ../stuff/glib.u
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }