SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fake-hwclock"

# SliTaz package receipt.

PACKAGE="fake-hwclock"
VERSION="0.13"
CATEGORY="network"
TAGS="clock"
SHORT_DESC="Save/restore system clock on machines without working RTC hardware."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://git.einval.com/cgi-bin/gitweb.cgi?p=fake-hwclock.git"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="git|https://git.einval.com/git/fake-hwclock.git"
BRANCH="75363d85aac2423fbd15c61f3729e63fea4019df"

BUILD_DEPENDS="git"

HOST_ARCH="i486 x86_64"

# Rules to gen a SliTaz package suitable for Tazpkg.                 
genpkg_rules()                                                   
{
    mkdir -p $fs/usr/sbin $fs/etc/init.d
    cp $src/fake-hwclock $fs/usr/sbin
    cp $stuff/fake-hwclock $fs/etc/init.d
    cp $stuff/fake-hwclock.data $fs/etc
}

post_install()
{                           
    # Ensure we have start point
    echo $(date '+%Y-%m-%d %H:%M:%S') > /etc/fake-hwclock.data
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)