wok diff hostapd/receipt @ rev 11656
Up: slitaz-configs (4.5) New syslinux vesamenu.c32 splash image for live CD/USB
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 12 03:00:54 2012 +0100 (2012-02-12) |
parents | b05d31223509 |
children | 147040c6687d |
line diff
1.1 --- a/hostapd/receipt Mon May 30 11:00:41 2011 +0200 1.2 +++ b/hostapd/receipt Sun Feb 12 03:00:54 2012 +0100 1.3 @@ -17,26 +17,23 @@ 1.4 { 1.5 cp -a $stuff/config $src/hostapd/.config 1.6 mkdir -p $DESTDIR/usr/bin 1.7 + cd $src/hostapd 1.8 + sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile && 1.9 + make && make DESTDIR=$DESTDIR install 1.10 +} 1.11 1.12 - cd $src/hostapd 1.13 - 1.14 - sed -i "s|/usr/local/bin|$DESTDIR/usr/bin|" Makefile 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd 1.19 1.20 - make && make DESTDIR=$DESTDIR install 1.21 - 1.22 - [ -d $DESTDIR/etc/hostapd ] || mkdir -p $DESTDIR/etc/hostapd 1.23 cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ 1.24 $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ 1.25 $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ 1.26 $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ 1.27 $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ 1.28 - $DESTDIR/etc/hostapd 1.29 -} 1.30 - 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 - mkdir -p $fs/usr $fs/etc/init.d 1.35 + $fs/etc/hostapd 1.36 + 1.37 cp -a $_pkg/usr/bin $fs/usr 1.38 cp -a $stuff/hostapd $fs/etc/init.d 1.39 }