wok-stable view klavaro/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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 }