wok-6.x annotate unbound/receipt @ rev 22232
updated xorg-libXxf86dga and xorg-libXxf86dga-dev (1.1.4 -> 1.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 08:30:43 2019 +0100 (2019-11-12) |
parents | dbf4eeed945f |
children | ca57a269eb9b |
rev | line source |
---|---|
pascal@18905 | 1 # SliTaz package receipt. |
pascal@18905 | 2 |
pascal@18905 | 3 PACKAGE="unbound" |
Hans-G?nter@22074 | 4 VERSION="1.9.4" |
pascal@18905 | 5 CATEGORY="network" |
pascal@18905 | 6 SHORT_DESC="A validating, recursive, and caching DNS resolver." |
pascal@18905 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18905 | 8 LICENSE="BSD" |
Hans-G?nter@22074 | 9 WEB_SITE="https://www.unbound.net/" |
Hans-G?nter@22074 | 10 |
pascal@18905 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18905 | 12 WGET_URL="https://www.unbound.net/downloads/$TARBALL" |
pascal@18905 | 13 |
pascal@18905 | 14 DEPENDS="libssl zlib expat" |
pascal@18905 | 15 BUILD_DEPENDS="openssl-dev expat-dev" |
pascal@18905 | 16 |
Hans-G?nter@22074 | 17 CONFIG_FILES="/etc/unbound" |
Hans-G?nter@22074 | 18 |
pascal@18905 | 19 # Rules to configure and make the package. |
pascal@18905 | 20 compile_rules() |
pascal@18905 | 21 { |
Hans-G?nter@22074 | 22 ./configure \ |
Hans-G?nter@22074 | 23 --prefix=/usr \ |
Hans-G?nter@22074 | 24 --sysconfdir=/etc \ |
Hans-G?nter@22074 | 25 --mandir=/usr/share/man \ |
pascal@18905 | 26 $CONFIGURE_ARGS && |
pascal@18905 | 27 make && |
pascal@18905 | 28 make DESTDIR=$DESTDIR install |
pascal@18905 | 29 } |
pascal@18905 | 30 |
pascal@18905 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18905 | 32 genpkg_rules() |
pascal@18905 | 33 { |
Hans-G?nter@22074 | 34 mkdir -p $fs/usr/lib |
Hans-G?nter@22074 | 35 mkdir -p $fs/var/lib/unbound |
Hans-G?nter@22074 | 36 |
Hans-G?nter@22074 | 37 cp -a $install/etc $fs |
Hans-G?nter@22074 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22074 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@18905 | 40 } |
pascal@19008 | 41 |
pascal@19008 | 42 # Post message when installing. |
pascal@19008 | 43 post_install() |
pascal@19008 | 44 { |
pascal@19008 | 45 chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound |
pascal@19008 | 46 chroot "$1/" chown unbound /var/lib/unbound |
pascal@19008 | 47 chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key |
pascal@19008 | 48 } |