# SliTaz package receipt. PACKAGE="tazpanel-extra" VERSION="638" CATEGORY="system-tools" SHORT_DESC="SliTaz administration and configuration panel extra modules." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.slitaz.org/" WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz" HOST_ARCH="i486" DEPENDS="tazpanel" SIBLINGS="tazpanel" current_version() { wget -O - http://hg.slitaz.org/tazpanel/ 2>/dev/null | \ sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/tazpanel/rev/|;s|<.*||' | \ xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' } # Rules to configure and make the package. compile_rules() { make && make DESTDIR=$DESTDIR VERSION=$VERSION install_extra } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs } post_install() { rm -f "$1"/var/cache/tazpanel/* 2> /dev/null || true }