wok view fritzing/receipt @ rev 25770
dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 11:29:23 2024 +0000 (2 months 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 }