wok-stable view klavaro/receipt @ rev 3898

slitaz-loram-cdrom: allow frugal install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 15 10:40:49 2009 +0200 (2009-08-15)
parents be4b9618ea05
children 9bac91257596
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/klavaro $fs/usr/share
32 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
33 $fs/usr/share/pixmaps
34 }