wok view qterminal/receipt @ rev 19422
fwknop: gpg support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 30 19:44:10 2016 +0200 (2016-09-30) |
parents | 5d53e8ccbc8d |
children | fa1a940c727c |
line source
1 # SliTaz package receipt.
3 PACKAGE="qterminal"
4 COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="system-tools"
7 SHORT_DESC="A Qt based terminal"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/qterminal/qterminal"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
13 GENERIC_PIXMAPS="no"
14 GENERIC_MENUS="no"
15 TAGS="terminal"
17 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget"
18 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir build; cd build
24 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QXT=0 .. &&
25 make &&
26 make DESTDIR=$install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/applications $fs/usr/share
36 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop
37 }