wok-6.x view klavaro/receipt @ rev 15110

Add some LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 18:02:00 2013 +0000 (2013-08-14)
parents 9bac91257596
children 7105e793369a
line source
1 # SliTaz package receipt.
3 PACKAGE="klavaro"
4 VERSION="1.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Free touch typing tutor program."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://klavaro.sourceforge.net/en/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="typing"
13 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
14 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
15 curl-dev libsexy-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/klavaro $fs/usr/share
35 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
36 $fs/usr/share/pixmaps
37 }