smlinux/base/chrony/chrony.SMBuild
PktSurf b84f8a4a14 Upgraded base/chrony to version 4.4
Upgraded base/cmake to version 3.27.7
Upgraded base/glib to 2.78.1
Upgraded base/libvpx to 1.10.0
Added AMDGPU and BPF build targets to base/llvm
Added a patch to extra/ffmpegthumbnailer for fixing a build error against ffmpeg 5.X versions
Upgraded gtk/libwnck3 to 3.36.0
Upgraded heavybuilds/firefox to 115.5.0
Added some patches to base/wpa-supplicant
Added glslang to xorg
2023-12-10 23:23:41 +05:30

46 lines
No EOL
1.1 KiB
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=chrony
version=4.4
build=1sml
homepage="https://chrony.tuxfamily.org/"
download="https://download.tuxfamily.org/chrony/chrony-$version.tar.gz"
desc="Lightweight program to maintain accuracy of the real time clock via NTP"
requires="nettle libcap"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--bindir=/bin \
--sbindir=/bin \
--mandir=/share/man \
--with-user=chrony
make $MAKEFLAGS
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
install -Dm 644 $srcdir/chrony.conf $pkg/etc/chrony.conf.new
# raspberry pi example
install -Dm 644 $srcdir/chrony.conf.rpi $pkg/etc/chrony.conf.rpi.new
install -Dm 644 $srcdir/README $pkg/etc/chrony.README
mkdir -p $pkg/var/lib/chrony
preprunitservice -s chrony -d
mkfinalpkg
}
sha512sums="
6c8c39864dbfcfac8e6a9c3a09fbe91c5f697d987eb044bf241c78b4654b55e968544cebfe644563b199cc7632a14aea1da4cb07b7ebe60f6a152334cf23af9a chrony-4.4.tar.lz
"