wok-next view qtermwidget/receipt @ rev 21018
Nasty typo broke the cooker
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 03:59:24 2018 +0300 (2018-10-17) |
parents | c0521c689857 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qtermwidget"
4 VERSION="0.8.0"
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/svn/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 mesa-dev lxqt-build-tools"
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 -DPULL_TRANSLATIONS=no \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 qtermwidget)
35 copy @std
36 DEPENDS="qt5-base"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="qtermwidget qt5-dev"
41 ;;
42 esac
43 TAGS="LXQt"
44 }