wok-next view dhcp/receipt @ rev 20405

Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.

js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 17:39:40 2017 +0200 (2017-12-07)
parents eb8067417980
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dhcp"
4 VERSION="4.2.2"
5 CATEGORY="network"
6 SHORT_DESC="Dynamic Host Configuration Protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://www.isc.org/downloads/DHCP/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.isc.org/isc/dhcp/$TARBALL"
14 BUILD_DEPENDS="perl"
15 SPLIT="dhcp-client dhcp-relay dhcp-dev"
16 SIBLINGS="dhcp6"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 grep -q MYEOL includes/dhctoken.h ||
22 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
23 includes/dhctoken.h
24 sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
26 ./configure \
27 --disable-dhcpv6 \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
32 mkdir -p $install/etc/init.d
33 cp $stuff/dhcpd $install/etc/init.d
34 cp $src/client/scripts/linux $install/etc/dhclient-script
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 dhcp)
42 copy dhcpd.conf dhcpd
43 CONFIG_FILES="/etc/dhcpd.conf"
44 ;;
45 dhcp-client)
46 copy dhclient.conf dhclient-script dhclient omshell
47 CAT="network|ISC client"
48 DEPENDS=" "
49 CONFIG_FILES="/etc/dhclient.conf"
50 ;;
51 dhcp-relay)
52 copy dhcrelay
53 CAT="network|relay"
54 DEPENDS=" "
55 ;;
56 *-dev) copy @dev;;
57 esac
58 }