wok-next view klavaro/receipt @ rev 12777

Up: cookutils (2.0) Mostly handle multi arch, new cross (beta, not yet packages)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 13 15:58:57 2012 +0200 (2012-05-13)
parents 5d2ad90121c8
children 1ae5963f23df
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
10 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
11 curl-dev libsexy-dev"
12 WEB_SITE="http://klavaro.sourceforge.net/en/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TAGS="typing"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/klavaro $fs/usr/share
33 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
34 $fs/usr/share/pixmaps
35 }