wok-6.x view klavaro/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 23c3aed67cd9 |
children | ba7cbdb5749c |
line source
1 # SliTaz package receipt.
3 PACKAGE="klavaro"
4 VERSION="1.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Free touch typing tutor program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://klavaro.sourceforge.net/en/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="typing"
14 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
15 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
16 curl-dev libsexy-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/klavaro $fs/usr/share
36 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
37 $fs/usr/share/pixmaps
38 }