wok annotate dhcp6/receipt @ rev 23494
updated python-httplib2 (0.8 -> 0.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:45:46 2020 +0100 (2020-04-06) |
parents | f1e92a9bbf08 |
children | bfabe25c21ff |
rev | line source |
---|---|
pascal@3350 | 1 # SliTaz package receipt. |
pascal@3350 | 2 |
pascal@3350 | 3 PACKAGE="dhcp6" |
Hans-G?nter@22733 | 4 VERSION="4.4.2" |
pascal@3350 | 5 CATEGORY="network" |
Hans-G?nter@22733 | 6 SHORT_DESC="Dynamic Host Configuration Protocol server with IPv6 support." |
pascal@3350 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="ISC" |
Hans-G?nter@22733 | 9 WEB_SITE="https://www.isc.org/dhcp/" |
Hans-G?nter@20835 | 10 |
pascal@3355 | 11 SOURCE="dhcp" |
pascal@3355 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3355 | 13 WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL" |
Hans-G?nter@20835 | 14 |
pascal@15579 | 15 PROVIDE="dhcp" |
pascal@3350 | 16 DEPENDS="libcrypto" |
Hans-G?nter@22733 | 17 BUILD_DEPENDS="file perl" |
Hans-G?nter@22733 | 18 |
Hans-G?nter@22733 | 19 CONFIG_FILES="/etc/dhcpd.conf" |
pascal@3350 | 20 |
pascal@3350 | 21 # Rules to configure and make the package. |
pascal@3350 | 22 compile_rules() |
pascal@3350 | 23 { |
pascal@3355 | 24 ln -s $src $PACKAGE-$VERSION 2> /dev/null |
pascal@3350 | 25 cd $src |
pascal@5734 | 26 grep -q MYEOL includes/dhctoken.h || |
pascal@5734 | 27 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ |
pascal@5734 | 28 includes/dhctoken.h |
Hans-G?nter@22733 | 29 sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' \ |
Hans-G?nter@22733 | 30 server/ddns.c |
Hans-G?nter@22733 | 31 |
Hans-G?nter@22733 | 32 ./configure \ |
Hans-G?nter@22733 | 33 --prefix=/usr \ |
Hans-G?nter@22733 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@22733 | 35 --sysconfdir=/etc \ |
Hans-G?nter@22733 | 36 --mandir=/usr/share/man \ |
Hans-G?nter@20835 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@20835 | 38 make -j 1 && |
Hans-G?nter@20835 | 39 make DESTDIR=$DESTDIR install |
pascal@3350 | 40 } |
pascal@3350 | 41 |
pascal@3350 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3350 | 43 genpkg_rules() |
pascal@3350 | 44 { |
Hans-G?nter@22733 | 45 mkdir -p $fs/usr/sbin |
Hans-G?nter@22733 | 46 mkdir -p $fs/etc/init.d |
Hans-G?nter@22733 | 47 |
Hans-G?nter@22733 | 48 cp $install/etc/dhcpd.conf.example $fs/etc/dhcpd.conf |
Hans-G?nter@22733 | 49 cp $install/usr/sbin/dhcpd $fs/usr/sbin |
Hans-G?nter@22733 | 50 cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d |
pascal@3350 | 51 } |