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