wok-next diff dhcp/receipt @ rev 20791
Up gnome-games, and add/update all the required dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 10 01:56:40 2018 +0300 (2018-06-10) |
parents | 0ff6bd677938 |
children | d5aab818505e |
line diff
1.1 --- a/dhcp/receipt Fri Jun 09 22:24:52 2017 +0300 1.2 +++ b/dhcp/receipt Sun Jun 10 01:56:40 2018 +0300 1.3 @@ -15,9 +15,7 @@ 1.4 SPLIT="dhcp-client dhcp-relay dhcp-dev" 1.5 SIBLINGS="dhcp6" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 grep -q MYEOL includes/dhctoken.h || 1.12 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ 1.13 includes/dhctoken.h 1.14 @@ -25,18 +23,16 @@ 1.15 1.16 ./configure \ 1.17 --disable-dhcpv6 \ 1.18 - --sysconfdir=/etc \ 1.19 $CONFIGURE_ARGS && 1.20 - make && make DESTDIR=$DESTDIR install 1.21 + make && 1.22 + make DESTDIR=$DESTDIR install || return 1 1.23 1.24 mkdir -p $install/etc/init.d 1.25 cp $stuff/dhcpd $install/etc/init.d 1.26 cp $src/client/scripts/linux $install/etc/dhclient-script 1.27 } 1.28 1.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 -genpkg_rules() 1.31 -{ 1.32 +genpkg_rules() { 1.33 case $PACKAGE in 1.34 dhcp) 1.35 copy dhcpd.conf dhcpd 1.36 @@ -56,4 +52,3 @@ 1.37 *-dev) copy @dev;; 1.38 esac 1.39 } 1.40 -