wok-current annotate unbound/receipt @ rev 18918
Add brotli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 16:36:21 2016 +0100 (2016-02-24) |
parents | |
children | dbf4eeed945f |
rev | line source |
---|---|
pascal@18905 | 1 # SliTaz package receipt. |
pascal@18905 | 2 |
pascal@18905 | 3 PACKAGE="unbound" |
pascal@18905 | 4 VERSION="1.5.7" |
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" |
pascal@18905 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18905 | 10 WEB_SITE="https://www.unbound.net/" |
pascal@18905 | 11 WGET_URL="https://www.unbound.net/downloads/$TARBALL" |
pascal@18905 | 12 CONFIG_FILES="/etc/unbound" |
pascal@18905 | 13 |
pascal@18905 | 14 DEPENDS="libssl zlib expat" |
pascal@18905 | 15 BUILD_DEPENDS="openssl-dev expat-dev" |
pascal@18905 | 16 |
pascal@18905 | 17 # Rules to configure and make the package. |
pascal@18905 | 18 compile_rules() |
pascal@18905 | 19 { |
pascal@18905 | 20 ./configure --prefix=/usr \ |
pascal@18905 | 21 --sysconfdir=/etc \ |
pascal@18905 | 22 --mandir=/usr/share/man \ |
pascal@18905 | 23 $CONFIGURE_ARGS && |
pascal@18905 | 24 make && |
pascal@18905 | 25 make DESTDIR=$DESTDIR install |
pascal@18905 | 26 } |
pascal@18905 | 27 |
pascal@18905 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18905 | 29 genpkg_rules() |
pascal@18905 | 30 { |
pascal@18905 | 31 mkdir -p $fs/usr/lib |
pascal@18905 | 32 cp -a $install/etc $fs |
pascal@18905 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18905 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@18905 | 35 } |