wok-next view opencpn/receipt @ rev 5844

xfce4-panel: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 13:32:21 2010 +0200 (2010-07-16)
parents 6ec17b55b59a
children 07e6c84aad04
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 nvidia"
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"
13 TAGS="office"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 busybox patch -p0 -i ../stuff/glib.u
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 }