wok-next view hsetroot/receipt @ rev 17759

hsetroot, wbar: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:31:24 2015 +0100 (2015-03-10)
parents 9be2dfe2fe72
children dd145c435e4b
line source
1 # SliTaz package receipt.
3 PACKAGE="hsetroot"
4 VERSION="1.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Tool to set desktop wallpaper."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://thegraveyard.org/hsetroot.php"
11 WGET_URL="http://thegraveyard.org/files/$TARBALL"
12 TAGS="wallpaper"
13 HOST_ARCH="i486 arm"
15 DEPENDS="imlib2 libpng freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
16 xorg-libXext"
17 BUILD_DEPENDS="imlib2-dev libpng-dev"
19 # ARM: imlib2-dev must be installed in build chroot
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
25 ./configure \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }