wok view fritzing/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (5 weeks ago)
parents 82d54eca72be
children
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="https://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 }