wok-stable view opencpn/receipt @ rev 11561

Add picoblog form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:17 2011 +0100 (2011-12-25)
parents 07e6c84aad04
children
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 }