wok view ponyprog-qt/receipt @ rev 21868

scilab: added BUILD_DEPENCY pcre-dev
author Hans-G?nter Theisgen
date Tue Sep 24 17:15:29 2019 +0100 (2019-09-24)
parents 1d426143c715
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
23 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
24 busybox tar -xf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
25 rm -rf qhexedit2
26 mv -f qhexedit2-* qhexedit2
27 sed 's|c++11|c++0x|g' -i ponyprog.pro CMakeLists.txt
29 qmake && make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/share/applications
36 cp -a $src/build/ponyprog $fs/usr/bin
37 cp -a $src/desktop/*.desktop $fs/usr/share/applications
38 chown -R root:root $fs
39 }