wok view klavaro/receipt @ rev 2621
atl1e, rt2860sta: move code into functions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 14 15:27:15 2009 +0000 (2009-04-14) |
parents | f08ead2d5191 |
children | 5d2ad90121c8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="klavaro"
4 VERSION="1.1.4"
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"
10 BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto"
11 WEB_SITE="http://klavaro.sourceforge.net/en/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/klavaro $fs/usr/share
31 cp -a $_pkg/var $fs
32 }