# SliTaz package receipt.

PACKAGE="libxdg-basedir"
VERSION="1.1.0"
CATEGORY="development"
SHORT_DESC="This library implements functions to list the directories according to the XDG Base Directory specification and provides a few higher-level functions for use with the specification."
MAINTAINER="mallory@sweetpeople.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://n.ethz.ch/~nevillm/download/libxdg-basedir"
WGET_URL="$WEB_SITE/$TARBALL"
CROSS="error"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--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
}