wok-current view opencpn/receipt @ rev 15440
Up: ecore-dev (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:43 2013 +0100 (2013-11-05) |
parents | 6b09507225ec |
children | 17e313b5b9c1 |
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 LICENSE="GPL2"
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"
14 DEPENDS="wxWidgets mesa libglu-mesa"
15 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa"
16 TAGS="office"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="-Wl,--copy-dt-needed-entries"
24 cd $src
25 busybox patch -p0 -i $stuff/glib.u
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }