# SliTaz package receipt.

PACKED_SIZE="20.0K"
UNPACKED_SIZE="56.0K"
PACKAGE="xorg-libXdmcp"
VERSION="1.1.1"
CATEGORY="x-window"
SHORT_DESC="X Display Manager Control Protocol library"
MAINTAINER="pankso@slitaz.org"
LICENSE="other"
WEB_SITE="http://www.x.org/"
SOURCE="libXdmcp"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="glibc-base"
BUILD_DEPENDS="xorg-xproto"

# Rules to configure and make the package.
compile_rules()
{
	./configure \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		$CONFIGURE_ARGS &&
	make &&
	make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p \
		$fs/usr/share/licenses \
		$fs/usr/lib
	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
	cp -a $install/usr/lib/*.so* $fs/usr/lib
}
