wok-current view qtermwidget/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (22 months ago)
parents 6135577f4d08
children
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 '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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 }