wok-current view fritzing/receipt @ rev 24727

cookutils: add repo-cooking (used by tank)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:59:31 2022 +0000 (2022-03-15)
parents ad9008f821da
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="fritzing"
4 VERSION="0.9.3b"
5 CATEGORY="development"
6 SHORT_DESC="Electronic Design Automation software; from prototype to product."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 GPL3 CC-BY-SA"
9 WEB_SITE="http://fritzing.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/fritzing-app/archive/$VERSION.tar.gz"
14 DEPENDS="libboost-graph libQtCore libQtXml quazip"
15 BUILD_DEPENDS="libboost-dev libboost-graph-dev qmake Qt4-dev libQtNetwork \
16 quazip-dev"
17 HOST_ARCH="i486"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 qmake &&
30 make -j 1 &&
31 make INSTALL_ROOT=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
40 cp -a $install/usr/share/icons $fs/usr/share/pixmaps
41 }