wok-current view opencpn/receipt @ rev 16346
ARM: add tor + tinycm (up to 1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 23:52:01 2014 +0200 (2014-04-12) |
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 }