# SliTaz package receipt.

PACKAGE="lxmenu-data"
VERSION="0.1.2"
CATEGORY="x-window"
SHORT_DESC="Freedesktop.org menu-spec-compliant desktop menus for LXDE."
MAINTAINER="rcx@zoominternet.net"
BUILD_DEPENDS="gettext intltool"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.lxde.org/"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"
CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"

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

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