wok-6.x view fritzing/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | abe6b9e04ee5 |
children | ad9008f821da |
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="GPL"
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 qmake &&
29 make -j 1 &&
30 make INSTALL_ROOT=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share/pixmaps
40 }