wok-current view ponyprog-qt/receipt @ rev 20114
Up xchm (1.23), apulse (0.1.10)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 12 11:31:13 2017 +0200 (2017-10-12) |
parents | 9415addc582d |
children | 3801a162aec8 |
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 }