wok view qtermwidget/receipt @ rev 25735
Remove iptraf: replaced by iptraf-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 09:39:49 2024 +0000 (2 months ago) |
parents | c965782a38e0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtermwidget"
4 VERSION="0.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A Qt terminal widget"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxqt/qtermwidget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="gcc-lib-base glibc-base"
14 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build; cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$install install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/qtermwidget4 $fs/usr/share
38 }