# SliTaz package receipt. PACKAGE="xorg-xwininfo" VERSION="1.1.5" CATEGORY="x-window" TAGS="util xorg windows" SHORT_DESC="Window information utility to query x-server." MAINTAINER="jozee@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.x.org/wiki/" SOURCE="xwininfo" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$XORG_MIRROR/app/$TARBALL" DEPENDS="xorg-libX11" BUILD_DEPENDS="xorg-libX11-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.ls sr compile_rules() { ./configure \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }