wok-current view opencpn/receipt @ rev 8809

Fix gnustep-base compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 02:20:47 2011 +0100 (2011-02-23)
parents 5b44af8c1257
children d1768332cee0
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 }