wok-next view qterminal/receipt @ rev 17501

Normalize tags "file-manager", "web-browser", "text-editor", "terminal", and "window-manager" according to tazx.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 08 02:04:05 2015 +0200 (2015-01-08)
parents 345677019f4e
children c0ce132ba4ee
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"
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 }