wok-6.x view slitaz-arm-codex/receipt @ rev 25391

updated usb-modeswitch-data (20170806 -> 20191128)
author Hans-G?nter Theisgen
date Mon Aug 01 15:21:41 2022 +0100 (2022-08-01)
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 }