# SliTaz package receipt. PACKAGE="xorg-libxkbfile" VERSION="1.1.0" CATEGORY="x-window" SHORT_DESC="Xorg server keyboard library." MAINTAINER="pankso@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.x.org/wiki/" SOURCE="libxkbfile" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$XORG_MIRROR/lib/$TARBALL" DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="libxcb-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" HOST_ARCH="i486 arm" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }