wok-next view rfkill/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
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 }