From 046973fa3ceb5c22ecac03ac83674e939e327b83 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 28 Jul 2020 10:44:38 -0600 Subject: main/ifupdown-ng: move to main --- main/ifupdown-ng/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 main/ifupdown-ng/APKBUILD (limited to 'main/ifupdown-ng') diff --git a/main/ifupdown-ng/APKBUILD b/main/ifupdown-ng/APKBUILD new file mode 100644 index 00000000000..dc54de9ca25 --- /dev/null +++ b/main/ifupdown-ng/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Ariadne Conill +pkgname=ifupdown-ng +pkgver=0.4.2 +pkgrel=0 +pkgdesc="tools for managing network configuration" +url="https://github.com/ifupdown-ng/ifupdown-ng" +arch="all" +license="ISC" +depends="" +checkdepends="kyua atf" +makedepends="scdoc" +install="" +subpackages="$pkgname-doc" +source="https://distfiles.dereferenced.org/ifupdown-ng/ifupdown-ng-$pkgver.tar.xz" +builddir="$srcdir/ifupdown-ng-$pkgver" + +# We only install the core executors right now. The other executors are +# still being ported to run under ifupdown-ng natively, and so we will +# use the ifupdown scripts for now for those cases. +_executor_scripts="dhcp ipv6-ra static link" + +build() { + make + make docs +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" EXECUTOR_SCRIPTS="$_executor_scripts" install install_docs +} + +sha512sums="4343d5aff522dd545458a2309d4354b25321e9bf349e8f75777e1364065b236eaec8655b7c98148450a5600eeb8bb61ee7dbfb182ec3c55ee20562ed2d3f5a74 ifupdown-ng-0.4.2.tar.xz" -- cgit v1.2.3