wok-current view unbound/receipt @ rev 21520

updated nasm (2.11.02 -> 2.14.02)
author Hans-G?nter Theisgen
date Fri May 03 15:56:29 2019 +0100 (2019-05-03)
parents 5ec99f93b9bb
children bff282a27539
line source
1 # SliTaz package receipt.
3 PACKAGE="unbound"
4 VERSION="1.5.7"
5 CATEGORY="network"
6 SHORT_DESC="A validating, recursive, and caching DNS resolver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.unbound.net/"
11 WGET_URL="https://www.unbound.net/downloads/$TARBALL"
12 CONFIG_FILES="/etc/unbound"
14 DEPENDS="libssl zlib expat"
15 BUILD_DEPENDS="openssl-dev expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/var/lib/unbound
32 cp -a $install/etc $fs
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/sbin $fs/usr
35 }
37 # Post message when installing.
38 post_install()
39 {
40 chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound
41 chroot "$1/" chown unbound /var/lib/unbound
42 chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key
43 }