From 0ad1cba92ea9478e4a6507ce869eaa3c3eb68aeb Mon Sep 17 00:00:00 2001 From: mid-kid Date: Fri, 26 Aug 2016 23:31:22 +0200 Subject: [PATCH] Add create_ap-git and hostapd --- satellites/create_ap-git.sat | 13 +++++++++++++ satellites/hostapd.sat | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 satellites/create_ap-git.sat create mode 100644 satellites/hostapd.sat diff --git a/satellites/create_ap-git.sat b/satellites/create_ap-git.sat new file mode 100644 index 0000000..4ffd076 --- /dev/null +++ b/satellites/create_ap-git.sat @@ -0,0 +1,13 @@ +import 'vcs/git' + +name=create_ap + +vcs_git "https://github.com/oblique/$name" +header_end + +cd "$name" +install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" +install -Dm644 -t "$dir_install/$dir_sysconfdir" "$name.conf" +install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/bash-completion/$name" bash_completion + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/hostapd.sat b/satellites/hostapd.sat new file mode 100644 index 0000000..676ade7 --- /dev/null +++ b/satellites/hostapd.sat @@ -0,0 +1,14 @@ +name=hostapd +version=2.5 +update_url="http://w1.fi/$name/" + +dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ + '69f9cec3f76d74f402864a43e4f8624f' +header_end + +cd "$name-$version/$name" +cp defconfig .config +make +install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" "${name}_cli" + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: