wok annotate opencpn/receipt @ rev 13331
linux: add RT2800PCI (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 13:44:53 2012 +0200 (2012-09-04) |
parents | d1768332cee0 |
children | 6b09507225ec |
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 DEPENDS="wxWidgets mesa libglu-mesa" |
slaxemulator@6970 | 9 SUGGESTED="nvidia" |
allan316@3209 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3209 | 11 WEB_SITE="http://opencpn.sourceforge.net" |
allan316@3209 | 12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
allan316@3209 | 13 BUILD_DEPENDS="wxWidgets-dev mesa-dev libglu-mesa" |
jozee@4970 | 14 TAGS="office" |
pankso@3517 | 15 |
allan316@3209 | 16 # Rules to configure and make the package. |
allan316@3209 | 17 compile_rules() |
allan316@3209 | 18 { |
pascal@12654 | 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12654 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12654 | 21 |
allan316@3209 | 22 cd $src |
slaxemulator@9700 | 23 busybox patch -p0 -i $stuff/glib.u |
allan316@3209 | 24 ./configure \ |
allan316@3209 | 25 --prefix=/usr \ |
allan316@3209 | 26 --infodir=/usr/share/info \ |
allan316@3209 | 27 --mandir=/usr/share/man \ |
allan316@3209 | 28 $CONFIGURE_ARGS && |
allan316@3209 | 29 make && make DESTDIR=$PWD/_pkg install |
allan316@3209 | 30 } |
allan316@3209 | 31 |
allan316@3209 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3209 | 33 genpkg_rules() |
allan316@3209 | 34 { |
allan316@3209 | 35 mkdir -p $fs/usr |
allan316@3209 | 36 cp -a $_pkg/usr/bin $fs/usr |
allan316@3209 | 37 cp -a $_pkg/usr/share $fs/usr |
allan316@3209 | 38 } |
allan316@3209 | 39 |