wok-6.x view unbound/receipt @ rev 23892
Fix coturn & grub4dos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 25 17:02:18 2020 +0000 (2020-07-25) |
parents | ca57a269eb9b |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="unbound"
4 VERSION="1.10.1"
5 CATEGORY="network"
6 SHORT_DESC="A validating, recursive, and caching DNS resolver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.unbound.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.unbound.net/downloads/$TARBALL"
14 DEPENDS="expat libssl zlib"
15 BUILD_DEPENDS="expat-dev openssl-dev"
17 CONFIG_FILES="/etc/unbound"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 mkdir -p $fs/var/lib/unbound
37 cp -a $install/etc $fs
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 }
42 # Post message when installing.
43 post_install()
44 {
45 chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound
46 chroot "$1/" chown unbound /var/lib/unbound
47 chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key
48 }