wok-next view lxappearance/receipt @ rev 19924

py3k3: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:11:14 2017 +0200 (2017-10-14)
parents 4688f12eea68
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxappearance"
4 VERSION="0.6.3"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE GTK+ theme switcher"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/LXAppearance"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 BUILD_DEPENDS="intltool xorg-libX11-dev gtk+-dev dbus-dev dbus-glib-dev"
16 SPLIT="lxappearance-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance.html
23 # remove keywords from desktop file
24 sed -i '/^_Keywords/d' $src/data/lxappearance.desktop.in
26 ./configure \
27 --sysconfdir=/etc \
28 --enable-dbus \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 TAGS="LXDE"
37 case $PACKAGE in
38 lxappearance)
39 copy @std
40 DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
41 glib gtk+ pango xorg-libX11"
42 ;;
43 *-dev)
44 copy @dev
45 DEPENDS="lxappearance glib-dev gtk+-dev"
46 ;;
47 esac
48 }