wok diff dhcp6/receipt @ rev 20215

virtualbox-ose: force host arch to i486
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 16:34:05 2018 +0100 (2018-02-24)
parents 7008b10a1996
children 291369229046
line diff
     1.1 --- a/dhcp6/receipt	Mon Oct 17 02:49:31 2011 +0000
     1.2 +++ b/dhcp6/receipt	Sat Feb 24 16:34:05 2018 +0100
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="ISC"
     1.8  SOURCE="dhcp"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.isc.org/products/DHCP/"
    1.11  WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL"
    1.12 +CONFIG_FILES="/etc/dhcpd.conf"
    1.13 +PROVIDE="dhcp"
    1.14 +
    1.15  DEPENDS="libcrypto"
    1.16  BUILD_DEPENDS="perl"
    1.17 -CONFIG_FILES="/etc/dhcpd.conf"
    1.18 -PROVIDE="dhcp"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -25,15 +27,15 @@
    1.23  	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    1.24  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25  	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.26 -	make && make DESTDIR=$PWD/_pkg install
    1.27 +	make && make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/sbin $fs/etc/init.d
    1.34 -	cp $_pkg/etc/dhcpd.conf $fs/etc
    1.35 -	cp $_pkg/usr/sbin/dhcpd $fs/usr/sbin
    1.36 +	cp $install/etc/dhcpd.conf $fs/etc
    1.37 +	cp $install/usr/sbin/dhcpd $fs/usr/sbin
    1.38  	cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d
    1.39  }
    1.40