New package: adjtimex-1.29

This commit is contained in:
Duncaen 2022-03-12 23:46:58 +01:00
parent f192fcb305
commit 020e5945bd
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,17 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -42,10 +42,11 @@
$(CC) $(CFLAGS) -c mat.c
install: all
- $(INSTALL) -g bin -m 755 -o root adjtimex $(bindir)/adjtimex
- $(INSTALL) -d -g root -m 755 -o root $(mandir)
+ $(INSTALL) -d -g root -m 755 -o root $(DESTDIR)$(bindir)
+ $(INSTALL) -g bin -m 755 -o root adjtimex $(DESTDIR)$(bindir)/adjtimex
+ $(INSTALL) -d -g root -m 755 -o root $(DESTDIR)$(mandir)
-$(INSTALL) -g root -m 644 -o root $(srcdir)/adjtimex.8 \
- $(mandir)/adjtimex.$(manext)
+ $(DESTDIR)$(mandir)/adjtimex.$(manext)
uninstall:
rm -f $(bindir)/adjtimex $(mandir)/adjtimex.$(manext)

12
srcpkgs/adjtimex/template Normal file
View file

@ -0,0 +1,12 @@
# Template file for 'adjtimex'
pkgname=adjtimex
version=1.29
revision=1
build_style=gnu-configure
make_install_args="bindir=/usr/bin"
short_desc="Kernel time variables configuration utility"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/rogers0/adjtimex"
distfiles="${DEBIAN_SITE}/main/a/adjtimex/adjtimex_${version}.orig.tar.gz"
checksum=04b9e8b66e77276ed07e78de89af37fd1aa12725923de853480827c4fafd176a