# SliTaz package receipt. PACKAGE="slitaz-tools" VERSION="1037" CATEGORY="system-tools" SHORT_DESC="SliTaz tools provide installer and utils usable on terminal." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://www.slitaz.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.bz2" HOST_ARCH="i486 arm" SUGGESTED="slitaz-tools-boxes" DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base" BUILD_DEPENDS="gettext" SIBLINGS="slitaz-tools-boxes tazdrop" # Saved config file by package manager CONFIG_FILES=" /etc/TZ /etc/keymap.conf /etc/locale.conf /etc/slitaz/firewall.conf" current_version() { wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' } # Rules to configure and make the package. compile_rules() { # Patch for sakura 3.x patch -p1 < $stuff/sakura-workaround.patch mkdir -p $DESTDIR/usr/share make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs cp -a $install/* $fs chmod 0644 $fs/usr/share/locale/*/*/*.mo chown -R root.root $fs }