wok view opencpn/receipt @ rev 10081

Up: sudo to 1.8.1p2. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 06:06:44 2011 +0000 (2011-05-20)
parents 07e6c84aad04
children 08eee30bdf5f
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-mesa"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://opencpn.sourceforge.net"
12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa"
14 TAGS="office"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 busybox patch -p0 -i $stuff/glib.u
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share $fs/usr
35 }