wok view qxkb/receipt @ rev 24961

ncursesw-dev: added pkgconfig directory
author Hans-G?nter Theisgen
date Sun Apr 24 06:29:03 2022 +0100 (2022-04-24)
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 }