wok-current annotate slitaz-arm-codex/receipt @ rev 24959
updated ncdu (1.14.2 -> 1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:59:14 2022 +0100 (2022-04-23) |
parents | d6aaea06354b |
children |
rev | line source |
---|---|
pankso@16351 | 1 # SliTaz package receipt. |
pankso@16351 | 2 |
pankso@16351 | 3 PACKAGE="slitaz-arm-codex" |
pascal@19017 | 4 VERSION="616" |
pankso@16352 | 5 CATEGORY="base-system" |
pankso@16351 | 6 SHORT_DESC="Static HTML5 SliTaz ARM Codex." |
pankso@16351 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16351 | 8 LICENSE="BSD" |
pankso@16351 | 9 WEB_SITE="http://arm.slitaz.org/codex" |
pankso@16351 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19017 | 11 WGET_URL="http://hg.slitaz.org/slitaz-forge/archive/$VERSION.tar.bz2" |
pankso@16460 | 12 HOST_ARCH="i486 arm" |
pankso@16351 | 13 |
pascal@24069 | 14 current_version() |
pascal@24069 | 15 { |
pascal@24069 | 16 wget -O - http://hg.slitaz.org/slitaz-forge/ 2>/dev/null | \ |
pascal@24069 | 17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-forge/rev/|;s|<.*||' | \ |
pascal@24069 | 18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 19 } |
pascal@24069 | 20 |
pankso@16351 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16351 | 22 genpkg_rules() |
pankso@16351 | 23 { |
pankso@16351 | 24 doc="${fs}/usr/share/doc/slitaz-arm/codex" |
pankso@16351 | 25 mkdir -p ${doc}/images |
pankso@16351 | 26 cp ${src}/arm/codex/*.html ${doc} |
pankso@16351 | 27 cp ${src}/arm/style.css ${doc} |
pankso@16421 | 28 cp ${src}/arm/style-tiny.css ${doc} |
pankso@16351 | 29 cp ${src}/arm/images/logo.png ${doc}/images |
pankso@16421 | 30 cp ${src}/arm/images/arm.png ${doc}/images |
pankso@16351 | 31 cp ${src}/arm/images/raspberrypi.png ${doc}/images |
pankso@16629 | 32 cp ${src}/arm/images/generic.png ${doc}/images |
pankso@16351 | 33 } |