wok-stable annotate klavaro/receipt @ rev 11662
Up firefox (10.0.1, security fix)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 09:56:04 2012 +0100 (2012-02-13) |
parents | 5d2ad90121c8 |
children |
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 } |