From 5cfdd6d3d9de9f731369ecfac7545c1cc1d531d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Mon, 10 Apr 2017 22:02:53 +0100 Subject: [PATCH] iw: add rule for iw (wlan network config). --- rules/iw/default.bash | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 rules/iw/default.bash diff --git a/rules/iw/default.bash b/rules/iw/default.bash new file mode 100644 index 0000000..b86702b --- /dev/null +++ b/rules/iw/default.bash @@ -0,0 +1,33 @@ +version=\ +( + "4.9" +) + +url=\ +( + "http://lsts.pt/glued/iw-$version.tar.bz2" +) + +md5=\ +( + "ae8ccaa154449300c2c02eb90a37eebb" +) + +maintainer=\ +( + 'Pedro Gonçalves ' +) + +configure() +{ + mv "../iw_$version/etc" "../iw-$version/" + mv "../iw_$version/lib" "../iw-$version/" + mv "../iw_$version/sbin" "../iw-$version/" +} + +target_install() +{ + $cmd_cp -r "etc/"* "$cfg_dir_rootfs/etc/" + $cmd_cp -r "sbin/"* "$cfg_dir_rootfs/sbin/" + $cmd_cp -r "lib/"* "$cfg_dir_rootfs/lib/" +}