wok-next view hsetroot/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents c4fad9f4bde4
children c4e53a39395a
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 libpng16 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
16 xorg-libXext"
17 BUILD_DEPENDS="imlib2-dev libpng16-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 }