wok-current view qxkb/receipt @ rev 24684

updated jansson and jansson-dev (2.12 -> 2.14)
author Hans-G?nter Theisgen
date Sat Mar 12 10:51:35 2022 +0100 (2022-03-12)
parents 20661c276bcf
children 0f92b8cc8086
line source
1 # SliTaz package receipt.
3 PACKAGE="qxkb"
4 VERSION="0.4.6"
5 CATEGORY="base-system"
6 SHORT_DESC="The keypad switch written on Qt4"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/disels/qxkb"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://qxkb.googlecode.com/files/$TARBALL"
13 DEPENDS="glibc-base libQtSvg xorg-libxkbfile"
14 BUILD_DEPENDS="cmake Qt4-dev xorg-libxkbfile-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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 && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }