wok-next view znotes/receipt @ rev 20395

e4rat: update patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 02 12:33:04 2017 +0100 (2017-12-02)
parents a402394a4e62
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="znotes"
4 VERSION="0.4.5"
5 CATEGORY="office"
6 SHORT_DESC="zNotes is lightweigh crossplatform application for notes management"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://qt-apps.org/content/show.php/zNotes?content=113117"
10 #WEB_SITE="http://znotes.sourceforge.net/"
11 #WEB_SITE="https://github.com/proton/zNotes"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/proton/zNotes/archive/$VERSION.tar.gz"
15 DEPENDS="libQtGui libQtXml"
16 BUILD_DEPENDS="Qt4-dev qmake wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/qtlocalpeer.h.*/&\n#include <unistd.h>/' \
22 single_inst/qtlocalpeer.cpp
23 lrelease znotes.pro
24 qmake
25 make
26 make INSTALL_ROOT=$install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }