wok diff fake-hwclock/receipt @ rev 25734
updated sc-im (-> 0.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 22 14:48:42 2024 +0100 (4 months ago) |
parents | |
children | 6e7761d7363c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fake-hwclock/receipt Thu Aug 22 14:48:42 2024 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fake-hwclock" 1.7 +VERSION="0.13" 1.8 +CATEGORY="network" 1.9 +TAGS="clock" 1.10 +SHORT_DESC="Save/restore system clock on machines without working RTC hardware." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +WEB_SITE="https://git.einval.com/cgi-bin/gitweb.cgi?p=fake-hwclock.git" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +WGET_URL="git|https://git.einval.com/git/fake-hwclock.git" 1.17 +BRANCH="75363d85aac2423fbd15c61f3729e63fea4019df" 1.18 + 1.19 +BUILD_DEPENDS="git" 1.20 + 1.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 +genpkg_rules() 1.23 +{ 1.24 + mkdir -p $fs/usr/sbin $fs/etc/init.d 1.25 + cp $src/fake-hwclock $fs/usr/sbin 1.26 + cp $stuff/fake-hwclock $fs/etc/init.d 1.27 + cp $stuff/fake-hwclock.data $fs/etc 1.28 +} 1.29 + 1.30 +post_install() 1.31 +{ 1.32 + # Ensure we have start point 1.33 + echo $(date '+%Y-%m-%d %H:%M:%S') > /etc/fake-hwclock.data 1.34 +}