wok-stable view klavaro/receipt @ rev 8839

Up slitaz-boot-scripts (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 24 19:20:55 2011 +0100 (2011-02-24)
parents 5d2ad90121c8
children
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 }