wok-next annotate opencpn/receipt @ rev 14356

python-couchdbkit, python-restclient: fix TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 17 12:59:13 2013 +0200 (2013-04-17)
parents 08eee30bdf5f
children 380ffe05937a
rev   line source
allan316@3209 1 # SliTaz package receipt.
allan316@3209 2
allan316@3209 3 PACKAGE="opencpn"
pascal@4319 4 VERSION="1.3.2"
pankso@3517 5 CATEGORY="utilities"
allan316@3209 6 SHORT_DESC="A concise Chart/plotter Navigator"
allan316@3209 7 MAINTAINER="allan316@gmail.com"
slaxemulator@6970 8 SUGGESTED="nvidia"
allan316@3209 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3209 10 WEB_SITE="http://opencpn.sourceforge.net"
allan316@3209 11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
pascal@13796 12
pascal@13796 13 DEPENDS="wxWidgets mesa libglu-mesa"
allan316@3209 14 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa"
jozee@4970 15 TAGS="office"
pankso@3517 16
allan316@3209 17 # Rules to configure and make the package.
allan316@3209 18 compile_rules()
allan316@3209 19 {
pascal@12654 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12654 21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pascal@12654 22
allan316@3209 23 cd $src
slaxemulator@9700 24 busybox patch -p0 -i $stuff/glib.u
allan316@3209 25 ./configure \
allan316@3209 26 --prefix=/usr \
allan316@3209 27 --infodir=/usr/share/info \
allan316@3209 28 --mandir=/usr/share/man \
allan316@3209 29 $CONFIGURE_ARGS &&
pascal@13796 30 make && make DESTDIR=$DESTDIR install
allan316@3209 31 }
allan316@3209 32
allan316@3209 33 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3209 34 genpkg_rules()
allan316@3209 35 {
allan316@3209 36 mkdir -p $fs/usr
pascal@13796 37 cp -a $install/usr/bin $fs/usr
pascal@13796 38 cp -a $install/usr/share $fs/usr
allan316@3209 39 }
allan316@3209 40