wok-current view ponyprog-qt/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
parents 3801a162aec8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ponyprog-qt"
4 VERSION="3.0.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="PonyProg is the universal programmer for many serial devices."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL"
9 WEB_SITE="http://www.lancos.com/prog.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lancos/ponyprog/archive/v${VERSION}.tar.gz"
13 EXTRA_SOURCE_FILES="qhexedit2-5f3ca79.tar.gz"
14 WGET_URL2="https://github.com/lancos/qhexedit2/archive/5f3ca79.tar.gz"
16 DEPENDS="libQtGui"
17 BUILD_DEPENDS="Qt4-dev qmake cmake"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
29 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
30 busybox tar -xf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
31 rm -rf qhexedit2
32 mv -f qhexedit2-* qhexedit2
33 sed 's|c++11|c++0x|g' -i ponyprog.pro CMakeLists.txt
35 qmake && make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/share/applications
42 cp -a $src/build/ponyprog $fs/usr/bin
43 cp -a $src/desktop/*.desktop $fs/usr/share/applications
44 chown -R root:root $fs
45 }