wok view slitaz-arm-codex/receipt @ rev 25508

Up memtest (6.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 10:26:56 2023 +0000 (21 months ago)
parents d6aaea06354b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-arm-codex"
4 VERSION="616"
5 CATEGORY="base-system"
6 SHORT_DESC="Static HTML5 SliTaz ARM Codex."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://arm.slitaz.org/codex"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-forge/archive/$VERSION.tar.bz2"
12 HOST_ARCH="i486 arm"
14 current_version()
15 {
16 wget -O - http://hg.slitaz.org/slitaz-forge/ 2>/dev/null | \
17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-forge/rev/|;s|<.*||' | \
18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 doc="${fs}/usr/share/doc/slitaz-arm/codex"
25 mkdir -p ${doc}/images
26 cp ${src}/arm/codex/*.html ${doc}
27 cp ${src}/arm/style.css ${doc}
28 cp ${src}/arm/style-tiny.css ${doc}
29 cp ${src}/arm/images/logo.png ${doc}/images
30 cp ${src}/arm/images/arm.png ${doc}/images
31 cp ${src}/arm/images/raspberrypi.png ${doc}/images
32 cp ${src}/arm/images/generic.png ${doc}/images
33 }