wok-current view klavaro/receipt @ rev 15742
Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 14:50:15 2014 +0100 (2014-01-02) |
parents | 7105e793369a |
children | 17e313b5b9c1 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://klavaro.sourceforge.net/en/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="typing"
14 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
15 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
16 curl-dev libsexy-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0"
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/klavaro $fs/usr/share
36 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
37 $fs/usr/share/pixmaps
38 }