mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 23:51:37 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Contributor: Nathan Caldwell <saintdev@gmail.com>
|
|
# Maintainer: Nathan Caldwell <saintdev@gmail.com>
|
|
pkgname=llmnrd
|
|
pkgver=0.5
|
|
pkgrel=0
|
|
pkgdesc="Link-Local Multicast Resolution (LLMNR) Daemon for Linux"
|
|
url="https://github.com/tklauser/llmnrd"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends=""
|
|
makedepends="linux-headers"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
# llmnrd has no test suite
|
|
options="!check"
|
|
source="https://github.com/tklauser/llmnrd/releases/download/v$pkgver/llmnrd-$pkgver.tar.bz2
|
|
llmnrd.initd
|
|
"
|
|
builddir="$srcdir/llmnrd-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make prefix=/usr DESTDIR="$pkgdir" install
|
|
|
|
install -m755 -D "$srcdir"/$pkgname.initd \
|
|
"$pkgdir"/etc/init.d/$pkgname
|
|
}
|
|
|
|
sha512sums="e7d179bf7c0417974e39c225957f17d57a4bb00fcc74d0e3c66a05b9da2f88928f2867624b9f9193a4438be4d658bfe8474fd7fa637feaa5a406df5f98e8074e llmnrd-0.5.tar.bz2
|
|
393643c9a051aeb3ba283bfe2845c0480b0eba93ef89705ef9e3162a7ecff37d1733ab16482b6be09d89eed263a9c83323762c6dbc573b7a94c8a7cbfd1d10ef llmnrd.initd"
|