wok view rfkill/receipt @ rev 20679
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 12:26:47 2019 +0100 (2019-01-26) |
parents | fa39e0a3612e |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
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="slaxemulator@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
11 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL"
12 TAGS="kernel"
13 HOST_ARCH="i486 arm"
15 BUILD_DEPENDS="wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
21 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
22 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
23 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }