wok-6.x annotate klavaro/receipt @ rev 2085
Up + fix udev (137) put all rules in /etc/udev according to udev.conf
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 27 14:28:03 2009 +0100 (2009-01-27) |
parents | f6a186019e88 |
children | be4b9618ea05 |
rev | line source |
---|---|
pankso@1298 | 1 # SliTaz package receipt. |
pankso@1298 | 2 |
pankso@1298 | 3 PACKAGE="klavaro" |
pankso@1298 | 4 VERSION="1.1.4" |
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@1298 | 9 DEPENDS="gtk+" |
pascal@1460 | 10 BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto" |
pankso@1298 | 11 WEB_SITE="http://klavaro.sourceforge.net/en/" |
pankso@1298 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@1298 | 13 |
pankso@1298 | 14 # Rules to configure and make the package. |
pankso@1298 | 15 compile_rules() |
pankso@1298 | 16 { |
pankso@1298 | 17 cd $src |
pankso@1298 | 18 ./configure \ |
pankso@1298 | 19 --prefix=/usr \ |
pascal@1460 | 20 $CONFIGURE_ARGS && |
pascal@1460 | 21 make && |
pankso@1298 | 22 make DESTDIR=$PWD/_pkg install |
pankso@1298 | 23 } |
pankso@1298 | 24 |
pankso@1298 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1298 | 26 genpkg_rules() |
pankso@1298 | 27 { |
pankso@1298 | 28 mkdir -p $fs/usr/share |
pankso@1298 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@1298 | 30 cp -a $_pkg/usr/share/klavaro $fs/usr/share |
pankso@1298 | 31 cp -a $_pkg/var $fs |
pankso@1298 | 32 } |