wok-current view qterminal/receipt @ rev 16808

Add qterminal.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 09 21:17:27 2014 +0300 (2014-07-09)
parents
children 5d53e8ccbc8d
line source
1 # SliTaz package receipt.
3 PACKAGE="qterminal"
4 COMMIT="fff3774510ac437b8635f8a0b6c2d7f20b9cef86"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="system"
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"
16 DEPENDS="libQtCore libQtGui xorg-libX11 qtermwidget"
17 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake qtermwidget-dev xorg-libX11-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build; cd build
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_QXT=0 .. &&
24 make &&
25 make DESTDIR=$install install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/applications $fs/usr/share
35 sed -i 's|^Icon=.*$|Icon=terminal|g' $fs/usr/share/applications/*.desktop
36 }