wok annotate qxkb/receipt @ rev 24998

Up rp-pppoe (3.15)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 16 10:11:22 2022 +0000 (2022-05-16)
parents b569b85b0fb9
children
rev   line source
al@15192 1 # SliTaz package receipt.
al@15192 2
al@15192 3 PACKAGE="qxkb"
al@15192 4 VERSION="0.4.6"
al@15192 5 CATEGORY="base-system"
al@15192 6 SHORT_DESC="The keypad switch written on Qt4"
al@15192 7 MAINTAINER="al.bobylev@gmail.com"
al@15192 8 LICENSE="GPL3"
pascal@20682 9 WEB_SITE="https://github.com/disels/qxkb"
al@15192 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24982 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
al@15192 12
al@15192 13 DEPENDS="glibc-base libQtSvg xorg-libxkbfile"
al@15192 14 BUILD_DEPENDS="cmake Qt4-dev xorg-libxkbfile-dev qmake"
al@15192 15
pascal@24308 16 # What is the latest version available today?
pascal@24308 17 current_version()
pascal@24308 18 {
pascal@24308 19 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 21 }
pascal@24308 22
al@15192 23 # Rules to configure and make the package.
al@15192 24 compile_rules()
al@15192 25 {
al@15192 26 mkdir build && cd build
al@15192 27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
al@15192 28 make && make install
al@15192 29 }
al@15192 30
al@15192 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@15192 32 genpkg_rules()
al@15192 33 {
al@15192 34 cp -a $install/* $fs
al@15192 35 }