wok view opencpn/receipt @ rev 13896

busybox-boot: clean /dev (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 18 18:46:22 2013 +0100 (2013-01-18)
parents 08eee30bdf5f
children 380ffe05937a
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 SUGGESTED="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"
13 DEPENDS="wxWidgets mesa libglu-mesa"
14 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa"
15 TAGS="office"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
23 cd $src
24 busybox patch -p0 -i $stuff/glib.u
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 }