wok-current annotate opencpn/receipt @ rev 22409
up: Tor 0.4.1.6 -> 0.4.1.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Dec 10 16:26:24 2019 +0000 (2019-12-10) |
parents | 17e313b5b9c1 |
children | 370da83187ab |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
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" |
pascal@13796 | 13 |
al@18521 | 14 DEPENDS="wxWidgets28 mesa libglu-mesa" |
al@18521 | 15 BUILD_DEPENDS="wxWidgets28-dev mesa-dev libglu-mesa" |
jozee@4970 | 16 TAGS="office" |
pankso@3517 | 17 |
allan316@3209 | 18 # Rules to configure and make the package. |
allan316@3209 | 19 compile_rules() |
allan316@3209 | 20 { |
pascal@12654 | 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12654 | 23 |
allan316@3209 | 24 cd $src |
slaxemulator@9700 | 25 busybox patch -p0 -i $stuff/glib.u |
allan316@3209 | 26 ./configure \ |
allan316@3209 | 27 --prefix=/usr \ |
allan316@3209 | 28 --infodir=/usr/share/info \ |
allan316@3209 | 29 --mandir=/usr/share/man \ |
allan316@3209 | 30 $CONFIGURE_ARGS && |
pascal@13796 | 31 make && make DESTDIR=$DESTDIR install |
allan316@3209 | 32 } |
allan316@3209 | 33 |
allan316@3209 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3209 | 35 genpkg_rules() |
allan316@3209 | 36 { |
allan316@3209 | 37 mkdir -p $fs/usr |
pascal@13796 | 38 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 39 cp -a $install/usr/share $fs/usr |
allan316@3209 | 40 } |