wok-next annotate klavaro/receipt @ rev 3842

Up: Klavaro (1.2.2)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Aug 07 13:16:45 2009 +0200 (2009-08-07)
parents be4b9618ea05
children 9bac91257596
rev   line source
pankso@1298 1 # SliTaz package receipt.
pankso@1298 2
pankso@1298 3 PACKAGE="klavaro"
pankso@3842 4 VERSION="1.2.2"
pankso@1298 5 CATEGORY="system-tools"
pankso@1298 6 SHORT_DESC="Free touch typing tutor program."
pankso@1298 7 MAINTAINER="pankso@slitaz.org"
pankso@1298 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@3842 9 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
pankso@3842 10 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
pankso@3842 11 curl-dev libsexy-dev"
pankso@1298 12 WEB_SITE="http://klavaro.sourceforge.net/en/"
pankso@1298 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@1298 14
pankso@1298 15 # Rules to configure and make the package.
pankso@1298 16 compile_rules()
pankso@1298 17 {
pankso@1298 18 cd $src
pankso@1298 19 ./configure \
pankso@1298 20 --prefix=/usr \
pascal@1460 21 $CONFIGURE_ARGS &&
pascal@1460 22 make &&
pankso@1298 23 make DESTDIR=$PWD/_pkg install
pankso@1298 24 }
pankso@1298 25
pankso@1298 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1298 27 genpkg_rules()
pankso@1298 28 {
pankso@3842 29 mkdir -p $fs/usr/share/pixmaps
pankso@1298 30 cp -a $_pkg/usr/bin $fs/usr
pankso@1298 31 cp -a $_pkg/usr/share/klavaro $fs/usr/share
pankso@3842 32 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
pankso@3842 33 $fs/usr/share/pixmaps
pankso@1298 34 }