wok-next view lxappearance/receipt @ rev 20458

Unlock x86_64 architecture
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 12:12:14 2018 +0200 (2018-03-02)
parents 60bd4df08f57
children 757d032c55c7
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"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 BUILD_DEPENDS="intltool xorg-libX11-dev gtk+-dev dbus-dev dbus-glib-dev"
15 SPLIT="lxappearance-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance.html
22 # remove keywords from desktop file
23 sed -i '/^_Keywords/d' $src/data/lxappearance.desktop.in
25 ./configure \
26 --sysconfdir=/etc \
27 --enable-dbus \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 TAGS="LXDE"
36 case $PACKAGE in
37 lxappearance)
38 copy @std
39 DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
40 glib gtk+ pango xorg-libX11"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="lxappearance glib-dev gtk+-dev"
45 ;;
46 esac
47 }