wok view qxkb/receipt @ rev 24780

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
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 }