wok-6.x annotate klavaro/receipt @ rev 3621
Add: lxshortcut
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jun 30 14:31:45 2009 +0000 (2009-06-30) |
parents | f08ead2d5191 |
children | 5d2ad90121c8 |
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" |
pascal@2517 | 9 DEPENDS="gtk+ xorg-libXdamage" |
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 } |