wok view libtermkey/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents beeeb88edf2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libtermkey"
4 VERSION="0.22"
5 CATEGORY="libs"
6 SHORT_DESC="Library for easy processing of keyboard entry from terminal-based programs."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.leonerd.org.uk/code/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.leonerd.org.uk/code/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libtool unibilium-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/libtermkey 2>/dev/null | \
20 sed '/tar.gz/!d;s|.*key-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make PREFIX=/usr &&
27 make install PREFIX=/usr
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files *.so*
34 }