wok view klavaro/receipt @ rev 10274
ncurses*: build fail if native build system is used so use the compiler machine type
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 21 21:22:47 2011 +0200 (2011-05-21) |
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 }