wok-next diff klavaro/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | 9bac91257596 |
children | 7105e793369a |
line diff
1.1 --- a/klavaro/receipt Tue Feb 16 15:48:54 2010 +0000 1.2 +++ b/klavaro/receipt Tue Sep 10 12:15:52 2013 +0000 1.3 @@ -6,30 +6,32 @@ 1.4 SHORT_DESC="Free touch typing tutor program." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.7 +WEB_SITE="http://klavaro.sourceforge.net/en/" 1.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.9 +TAGS="typing" 1.10 + 1.11 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy" 1.12 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \ 1.13 curl-dev libsexy-dev" 1.14 -WEB_SITE="http://klavaro.sourceforge.net/en/" 1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 -TAGS="typing" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 cd $src 1.22 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" 1.23 ./configure \ 1.24 --prefix=/usr \ 1.25 $CONFIGURE_ARGS && 1.26 make && 1.27 - make DESTDIR=$PWD/_pkg install 1.28 + make DESTDIR=$DESTDIR install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr/share/pixmaps 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - cp -a $_pkg/usr/share/klavaro $fs/usr/share 1.37 - cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/share/klavaro $fs/usr/share 1.40 + cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ 1.41 $fs/usr/share/pixmaps 1.42 }