wok-6.x view qtermwidget/receipt @ rev 24071

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 10:35:01 2021 +0000 (2021-07-07)
parents c0ce132ba4ee
children b569b85b0fb9
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build; cd build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make &&
23 make DESTDIR=$install install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/share/qtermwidget4 $fs/usr/share
32 }