Commit 12aec35d authored by Leo's avatar Leo
Browse files

main/chrony: modernize

parent 9d06fc81
......@@ -12,11 +12,10 @@ pkggroups="$pkgname"
arch="all"
license="GPL-2.0-only"
install="$pkgname.pre-install $pkgname.pre-upgrade"
depends=""
makedepends="asciidoctor libcap-dev texinfo"
checkdepends="bash"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz
source="https://download.tuxfamily.org/chrony/chrony-$_ver.tar.gz
fix-tests.patch
max_resolve_interval.patch
......@@ -25,7 +24,6 @@ source="https://download.tuxfamily.org/$pkgname/$pkgname-$_ver.tar.gz
chrony.conf
timepps.h
"
builddir="$srcdir/$pkgname-$_ver"
prepare() {
default_prepare
......@@ -37,7 +35,6 @@ prepare() {
}
build() {
cd "$builddir"
CPPFLAGS="$CPPFLAGS -I./pps-tools/" ./configure \
--prefix=/usr \
--infodir=/usr/share/info \
......@@ -51,12 +48,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/etc/logrotate.d
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment