wok annotate klavaro/receipt @ rev 4942
add/improve TAGS k* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 15:48:54 2010 +0000 (2010-02-16) |
parents | 5d2ad90121c8 |
children | 1ae5963f23df |
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" |
jozee@4942 | 14 TAGS="typing" |
pankso@1298 | 15 |
pankso@1298 | 16 # Rules to configure and make the package. |
pankso@1298 | 17 compile_rules() |
pankso@1298 | 18 { |
pankso@1298 | 19 cd $src |
pankso@1298 | 20 ./configure \ |
pankso@1298 | 21 --prefix=/usr \ |
pascal@1460 | 22 $CONFIGURE_ARGS && |
pascal@1460 | 23 make && |
pankso@1298 | 24 make DESTDIR=$PWD/_pkg install |
pankso@1298 | 25 } |
pankso@1298 | 26 |
pankso@1298 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1298 | 28 genpkg_rules() |
pankso@1298 | 29 { |
pankso@3842 | 30 mkdir -p $fs/usr/share/pixmaps |
pankso@1298 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@1298 | 32 cp -a $_pkg/usr/share/klavaro $fs/usr/share |
pankso@3842 | 33 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ |
pankso@3842 | 34 $fs/usr/share/pixmaps |
pankso@1298 | 35 } |