# SliTaz package receipt. PACKAGE="slitaz-arm-codex" VERSION="616" CATEGORY="base-system" SHORT_DESC="Static HTML5 SliTaz ARM Codex." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" WEB_SITE="http://arm.slitaz.org/codex" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://hg.slitaz.org/slitaz-forge/archive/$VERSION.tar.bz2" HOST_ARCH="i486 arm" current_version() { wget -O - http://hg.slitaz.org/slitaz-forge/ 2>/dev/null | \ sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-forge/rev/|;s|<.*||' | \ xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { doc="${fs}/usr/share/doc/slitaz-arm/codex" mkdir -p ${doc}/images cp ${src}/arm/codex/*.html ${doc} cp ${src}/arm/style.css ${doc} cp ${src}/arm/style-tiny.css ${doc} cp ${src}/arm/images/logo.png ${doc}/images cp ${src}/arm/images/arm.png ${doc}/images cp ${src}/arm/images/raspberrypi.png ${doc}/images cp ${src}/arm/images/generic.png ${doc}/images }