# SliTaz package receipt.

PACKED_SIZE="24.0K"
UNPACKED_SIZE="48.0K"
PACKAGE="startup-notification"
VERSION="0.12"
CATEGORY="x-window"
SHORT_DESC="Startup notification protocol"
MAINTAINER="erjo@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://freedesktop.org/software/startup-notification/releases/"
WGET_URL="http://freedesktop.org/software/startup-notification/releases/$TARBALL"
CROSS="error: cannot run test program while cross compiling"

DEPENDS="util-linux-ng-uuid libxcb xcb-util xorg-libICE xorg-libSM xorg-libX11 \
xorg-libXau xorg-libXdmcp"
BUILD_DEPENDS="util-linux-ng-uuid-dev libxcb-dev xcb-util-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure -C \
		--prefix=/usr \
		--build=$HOST_SYSTEM \
		--host=$HOST_SYSTEM &&
	make && make install
}

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

