wok annotate fritzing/receipt @ rev 25647
Backout salvador 10% speedup: crashes with large files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 26 12:15:51 2024 +0000 (7 months ago) |
parents | 82d54eca72be |
children |
rev | line source |
---|---|
pankso@16585 | 1 # SliTaz package receipt. |
pankso@16585 | 2 |
pankso@16585 | 3 PACKAGE="fritzing" |
Hans-G?nter@20944 | 4 VERSION="0.9.3b" |
pankso@16585 | 5 CATEGORY="development" |
Hans-G?nter@20944 | 6 SHORT_DESC="Electronic Design Automation software; from prototype to product." |
pankso@16585 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@24727 | 8 LICENSE="GPL2 GPL3 CC-BY-SA" |
pascal@25540 | 9 WEB_SITE="https://fritzing.org" |
Hans-G?nter@20944 | 10 |
Hans-G?nter@20944 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21799 | 12 WGET_URL="https://github.com/$PACKAGE/fritzing-app/archive/$VERSION.tar.gz" |
pankso@16585 | 13 |
pankso@16585 | 14 DEPENDS="libboost-graph libQtCore libQtXml quazip" |
pankso@16585 | 15 BUILD_DEPENDS="libboost-dev libboost-graph-dev qmake Qt4-dev libQtNetwork \ |
pankso@16585 | 16 quazip-dev" |
Hans-G?nter@20944 | 17 HOST_ARCH="i486" |
pankso@16585 | 18 |
pascal@24626 | 19 # What is the latest version available today? |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24626 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
pankso@16585 | 26 # Rules to configure and make the package. |
pankso@16585 | 27 compile_rules() |
pankso@16585 | 28 { |
Hans-G?nter@20944 | 29 qmake && |
Hans-G?nter@20944 | 30 make -j 1 && |
Hans-G?nter@20944 | 31 make INSTALL_ROOT=$install install |
pankso@16585 | 32 } |
pankso@16585 | 33 |
pankso@16585 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16585 | 35 genpkg_rules() |
pankso@16585 | 36 { |
pankso@16585 | 37 mkdir -p $fs/usr/bin $fs/usr/share |
pankso@16585 | 38 cp -a $install/usr/bin $fs/usr |
pankso@16585 | 39 cp -a $install/usr/share/${PACKAGE} $fs/usr/share |
pankso@16585 | 40 cp -a $install/usr/share/icons $fs/usr/share/pixmaps |
pankso@16585 | 41 } |