wok-next view wireless_tools/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | cd7906120828 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wireless_tools"
4 VERSION="29"
5 CATEGORY="system-tools"
6 SHORT_DESC="Wireless Tools for Linux"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hewlettpackard.github.io/wireless-tools/Tools.html"
11 TARBALL="$PACKAGE.$VERSION.tar.gz"
12 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL"
14 SPLIT="wireless_tools-dev"
16 compile_rules() {
17 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
19 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr &&
20 make PREFIX=$DESTDIR/usr install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 wireless_tools)
26 copy @std
27 SUGGESTED="linux-wireless"
28 TAGS="wireless wifi network"
29 ;;
30 *-dev) copy @dev;;
31 esac
32 }
34 post_install_wireless_tools() {
35 [ -n "$quiet" ] || cat <<EOT
37 .--------------------------------------------.
38 | You may need to install linux-wireless |
39 | to have wireless network drivers. |
40 | Or install tazndis to use Windows drivers. |
41 '--------------------------------------------'
42 EOT
43 }