wok-current annotate klavaro/receipt @ rev 15601
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:23:08 2013 +0000 (2013-12-05) |
parents | 7105e793369a |
children | 17e313b5b9c1 |
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" |
pascal@15601 | 8 LICENSE="GPL3" |
pankso@1298 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15110 | 10 WEB_SITE="http://klavaro.sourceforge.net/en/" |
pascal@15110 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15110 | 12 TAGS="typing" |
pascal@15110 | 13 |
pankso@3842 | 14 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy" |
pankso@3842 | 15 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \ |
pankso@3842 | 16 curl-dev libsexy-dev" |
pankso@1298 | 17 |
pankso@1298 | 18 # Rules to configure and make the package. |
pankso@1298 | 19 compile_rules() |
pankso@1298 | 20 { |
pankso@1298 | 21 cd $src |
pascal@15276 | 22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" |
pankso@1298 | 23 ./configure \ |
pankso@1298 | 24 --prefix=/usr \ |
pascal@1460 | 25 $CONFIGURE_ARGS && |
pascal@1460 | 26 make && |
pascal@15110 | 27 make DESTDIR=$DESTDIR install |
pankso@1298 | 28 } |
pankso@1298 | 29 |
pankso@1298 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1298 | 31 genpkg_rules() |
pankso@1298 | 32 { |
pankso@3842 | 33 mkdir -p $fs/usr/share/pixmaps |
pascal@15110 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15110 | 35 cp -a $install/usr/share/klavaro $fs/usr/share |
pascal@15110 | 36 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ |
pankso@3842 | 37 $fs/usr/share/pixmaps |
pankso@1298 | 38 } |