wok-next view sbxkb/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | 1f1539425437 |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sbxkb"
4 VERSION="0.7.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Simple tray XKB indicator"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://sourceforge.net/projects/staybox/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/staybox/$TARBALL"
12 DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base \
13 gdk-pixbuf glib glibc-base gtk+ libffi libgio libpng libxcb pango \
14 pixman xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
15 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
16 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
17 BUILD_DEPENDS="gtk+-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }