# SliTaz package receipt. PACKAGE="xorg-libXrandr" VERSION="1.3.0" CATEGORY="x-window" SHORT_DESC="Xorg server module." MAINTAINER="pankso@slitaz.org" SOURCE="libXrandr" TARBALL="$SOURCE-$VERSION.tar.bz2" DEPENDS="xorg-libXext xorg-libXrender" BUILD_DEPENDS="xorg-randrproto" WEB_SITE="http://www.x.org/" WGET_URL="$XORG_MIRROR/lib/$TARBALL" CROSS="bug: can not run test programm" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --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 }