wok annotate xpra/receipt @ rev 22810
Add squidanalyser
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 31 12:24:59 2020 +0100 (2020-01-31) |
parents | 894400f70cbb |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@14161 | 1 # SliTaz package receipt. |
pascal@14161 | 2 |
pascal@14161 | 3 PACKAGE="xpra" |
Hans-G?nter@22306 | 4 VERSION="3.0.2" |
pascal@14161 | 5 CATEGORY="network" |
Hans-G?nter@21798 | 6 SHORT_DESC="Screen for X." |
pascal@14161 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
Hans-G?nter@21798 | 9 WEB_SITE="https://xpra.org/" |
Hans-G?nter@21798 | 10 |
pascal@14161 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@14161 | 12 WGET_URL="${WEB_SITE}src/$TARBALL" |
pascal@14161 | 13 |
Hans-G?nter@21798 | 14 DEPENDS="ffmpeg gcc83-lib-base gtk+ libvpx pygobject pygtk python x264" |
Hans-G?nter@21798 | 15 BUILD_DEPENDS="ffmpeg-dev gcc83 gtk+-dev libvpx-dev pkg-config \ |
Hans-G?nter@21798 | 16 pygobject-dev pygtk-dev python-cython python-dev x264-dev xorg-dev" |
pascal@14161 | 17 |
pascal@14161 | 18 # Rules to configure and make the package. |
pascal@14161 | 19 compile_rules() |
pascal@14161 | 20 { |
Hans-G?nter@21798 | 21 #2.5.3 Setting also needed for SliTaz: |
Hans-G?nter@22306 | 22 # sed -i '736s/if/if True or/' setup.py |
Hans-G?nter@22306 | 23 #3.0.2 Setting also needed for SliTaz: |
Hans-G?nter@22306 | 24 sed -i '678s/if/if True or/' setup.py |
Hans-G?nter@21798 | 25 |
Hans-G?nter@21798 | 26 export CC=gcc-83 |
Hans-G?nter@21798 | 27 export CXX=g++-83 |
Hans-G?nter@21798 | 28 |
pascal@14161 | 29 python setup.py build && |
pascal@14161 | 30 python setup.py install --root=$DESTDIR |
pascal@14161 | 31 } |
pascal@14161 | 32 |
pascal@14161 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14161 | 34 genpkg_rules() |
pascal@14161 | 35 { |
pascal@14161 | 36 cp -a $install/* $fs/ |
pascal@14161 | 37 } |