wok-current annotate wpa_supplicant/receipt @ rev 885
Add startup script for wpa_supplicant
author | Tom Frankland <0dddba11@googlemail.com> |
---|---|
date | Sat Jun 07 22:29:41 2008 +0000 (2008-06-07) |
parents | 22476fcc0861 |
children | dbb21026eb5c |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="wpa_supplicant" |
0dddba11@861 | 4 VERSION="0.5.10" |
0dddba11@861 | 5 CATEGORY="utilities" |
0dddba11@861 | 6 SHORT_DESC="WPA Supplicant with support for WPA and WPA2" |
0dddba11@861 | 7 MAINTAINER="0dddba11@googlemail.com" |
0dddba11@861 | 8 DEPENDS="" |
0dddba11@861 | 9 BUILD_DEPENDS="openssl-dev" |
0dddba11@861 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
0dddba11@861 | 11 WEB_SITE="http://hostap.epitest.fi/wpa_supplicant/" |
0dddba11@861 | 12 WGET_URL="http://hostap.epitest.fi/releases/$TARBALL" |
0dddba11@861 | 13 |
0dddba11@861 | 14 # Rules to configure and make the package. |
0dddba11@861 | 15 compile_rules() |
0dddba11@861 | 16 { |
0dddba11@861 | 17 cd $src |
0dddba11@861 | 18 cp -a ./defconfig ./.config |
0dddba11@861 | 19 make |
0dddba11@861 | 20 } |
0dddba11@861 | 21 |
0dddba11@861 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 23 genpkg_rules() |
0dddba11@861 | 24 { |
0dddba11@861 | 25 mkdir -p $fs/usr/bin |
0dddba11@861 | 26 mkdir -p $fs/etc |
0dddba11@861 | 27 cp -a $src/wpa_cli $fs/usr/bin |
0dddba11@861 | 28 cp -a $src/wpa_supplicant $fs/usr/bin |
0dddba11@861 | 29 cp -a $src/wpa_supplicant.conf $fs/etc |
0dddba11@885 | 30 |
0dddba11@885 | 31 # Startup script |
0dddba11@885 | 32 cp -a stuff/etc $fs |
0dddba11@861 | 33 } |
0dddba11@861 | 34 |