wok annotate ponyprog-qt/receipt @ rev 22323

updated ympd (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Thu Nov 14 17:21:02 2019 +0100 (2019-11-14)
parents 1d426143c715
children 5ea0ce1cecc0
rev   line source
psychomaniak@20111 1 # SliTaz package receipt.
psychomaniak@20111 2
psychomaniak@20111 3 PACKAGE="ponyprog-qt"
psychomaniak@20111 4 VERSION="3.0.0"
psychomaniak@20111 5 CATEGORY="system-tools"
psychomaniak@20111 6 SHORT_DESC="PonyProg is the universal programmer for many serial devices."
psychomaniak@20111 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@20111 8 LICENSE="GPL"
psychomaniak@20111 9 WEB_SITE="http://www.lancos.com/prog.html"
psychomaniak@20111 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@20111 11 WGET_URL="https://github.com/lancos/ponyprog/archive/v${VERSION}.tar.gz"
psychomaniak@20111 12
psychomaniak@20113 13 EXTRA_SOURCE_FILES="qhexedit2-5f3ca79.tar.gz"
psychomaniak@20113 14 WGET_URL2="https://github.com/lancos/qhexedit2/archive/5f3ca79.tar.gz"
psychomaniak@20113 15
psychomaniak@20113 16 DEPENDS="libQtGui"
psychomaniak@20113 17 BUILD_DEPENDS="Qt4-dev qmake cmake"
psychomaniak@20111 18
psychomaniak@20111 19 # Rules to configure and make the package.
psychomaniak@20111 20 compile_rules()
psychomaniak@20111 21 {
psychomaniak@20113 22 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
psychomaniak@20113 23 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
psychomaniak@20113 24 busybox tar -xf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
psychomaniak@20113 25 rm -rf qhexedit2
psychomaniak@20113 26 mv -f qhexedit2-* qhexedit2
psychomaniak@20114 27 sed 's|c++11|c++0x|g' -i ponyprog.pro CMakeLists.txt
psychomaniak@20112 28
psychomaniak@20113 29 qmake && make && make DESTDIR=$DESTDIR install
psychomaniak@20111 30 }
psychomaniak@20111 31
psychomaniak@20111 32 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@20111 33 genpkg_rules()
psychomaniak@20111 34 {
psychomaniak@20113 35 mkdir -p $fs/usr/bin $fs/usr/share/applications
psychomaniak@20113 36 cp -a $src/build/ponyprog $fs/usr/bin
psychomaniak@20113 37 cp -a $src/desktop/*.desktop $fs/usr/share/applications
pascal@20115 38 chown -R root:root $fs
psychomaniak@20111 39 }