wok annotate qxkb/receipt @ rev 24821
updated libpcap and libpcap-dev (1.9.1 -> 1.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 11:02:18 2022 +0100 (2022-03-23) |
parents | 20661c276bcf |
children | 0f92b8cc8086 |
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" |
al@15192 | 11 WGET_URL="http://qxkb.googlecode.com/files/$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 } |