wok-next view rfkill/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 8e1b2a143eb3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rfkill"
4 VERSION="0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility to query the state of the rfkill switches"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL"
14 compile_rules() {
15 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
16 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
17 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
18 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 copy @std
26 TAGS="kernel"
27 }