wok-next annotate lxappearance/receipt @ rev 19893

Up: gpicview, harfbuzz, libfm-extra, libfm, libwmf, libxklavier, libxml++, libzip, lxappearance, lxlauncher, lxrandr, lxtask, pcmanfm, xarchiver; add: lxhotkey, webkit2gtk, webkitgtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 11 21:43:20 2017 +0300 (2017-10-11)
parents 4688f12eea68
children c4e53a39395a
rev   line source
al@19812 1 # SliTaz package receipt v2.
pankso@510 2
pankso@510 3 PACKAGE="lxappearance"
al@19812 4 VERSION="0.6.3"
pankso@510 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE GTK+ theme switcher"
pankso@510 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/LXAppearance"
al@19812 10 HOST_ARCH="i486 arm"
al@19812 11
pankso@16261 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@510 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@13719 14
al@19812 15 BUILD_DEPENDS="intltool xorg-libX11-dev gtk+-dev dbus-dev dbus-glib-dev"
al@19812 16 SPLIT="lxappearance-dev"
pankso@510 17
pankso@510 18 # Rules to configure and make the package.
pankso@510 19 compile_rules()
pankso@510 20 {
al@19812 21 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance.html
al@19812 22
al@19812 23 # remove keywords from desktop file
al@19812 24 sed -i '/^_Keywords/d' $src/data/lxappearance.desktop.in
al@19812 25
pankso@16261 26 ./configure \
pankso@16261 27 --sysconfdir=/etc \
al@19812 28 --enable-dbus \
pankso@16261 29 $CONFIGURE_ARGS &&
pankso@16261 30 make && make install
pankso@510 31 }
pankso@510 32
pankso@510 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@510 34 genpkg_rules()
pankso@510 35 {
al@19812 36 TAGS="LXDE"
al@19812 37 case $PACKAGE in
al@19812 38 lxappearance)
al@19812 39 copy @std
al@19812 40 DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
al@19812 41 glib gtk+ pango xorg-libX11"
al@19812 42 ;;
al@19812 43 *-dev)
al@19812 44 copy @dev
al@19812 45 DEPENDS="lxappearance glib-dev gtk+-dev"
al@19812 46 ;;
al@19812 47 esac
pankso@510 48 }