aports/main/libdaemon/APKBUILD
Natanael Copa f8d62aa6b1 main/libdaemon: backport licence change
Upstream changed the license to MIT. Backport this change.

fixes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16814
2025-01-10 10:23:24 +00:00

40 lines
1.2 KiB
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdaemon
pkgver=0.14
pkgrel=6
pkgdesc="A lightweight C library which eases the writing of UNIX daemons"
url="https://0pointer.de/lennart/projects/libdaemon/"
arch="all"
license="MIT"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
source="https://dev.alpinelinux.org/archive/libdaemon/libdaemon-$pkgver.tar.gz
fix-includes.patch
0001-LICENSE-change-license-to-MIT.patch
"
prepare() {
update_config_sub
default_prepare
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--localstatedir=/var \
--disable-lynx
make
}
package() {
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2 libdaemon-0.14.tar.gz
2351e87a645d997d4f549807b809376ab7be78f833f6ba44100509b7ffdd9f526ec95c3a265d059eb35531fa489e814e21bc6ab85540c539c67677124d2f7924 fix-includes.patch
d4da39cf68e247e6451db3c79d182bc32c6f59fecedccb5e385c0f1d4234bd46ee90583f1df2d2c238c7efbb75f769f2858ebedf9fb65dc44cef52d490818377 0001-LICENSE-change-license-to-MIT.patch
"