wok-next view qtermwidget/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | c0ce132ba4ee |
children | d394530f7404 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qtermwidget"
4 VERSION="0.7.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="The terminal widget for QTerminal"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/qtermwidget"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/qtermwidget.html"
12 # release 0.7.1 tarball missed in GitHub
13 #TARBALL="$PACKAGE-$VERSION.tar.xz"
14 #WGET_URL="https://github.com/lxde/qtermwidget/releases/download/$VERSION/$TARBALL"
15 TARBALL="$PACKAGE-$VERSION.tar.gz"
16 WGET_URL="https://github.com/lxde/qtermwidget/archive/$VERSION.tar.gz"
18 BUILD_DEPENDS="cmake qt5-dev mesa17-dev"
19 SPLIT="qtermwidget-dev"
21 compile_rules() {
22 mkdir build; cd build
23 cmake \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 qtermwidget)
34 copy @std
35 DEPENDS="qt5-base"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="qtermwidget qt5-dev"
40 ;;
41 esac
42 TAGS="LXQt"
43 }