# SliTaz package receipt.

PACKAGE="lxappearance"
VERSION="0.5.1"
CATEGORY="x-window"
SHORT_DESC="Desktop setting configuration utility from LXDE."
MAINTAINER="pankso@slitaz.org"
DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config intltool gtk+-dev gettext xorg-xproto"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://lxde.sourceforge.net/"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/share/lxappearance $fs/usr/share
    cp -a $_pkg/usr/share/applications $fs/usr/share
}