wok-6.x diff rfkill/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents 71360a13cd94
children
line diff
     1.1 --- a/rfkill/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/rfkill/receipt	Tue Jul 19 10:19:50 2022 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rfkill"
     1.7 -VERSION="0.5"
     1.8 +VERSION="1.0"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Utility to query the state of the rfkill switches"
    1.11 +TAGS="kernel"
    1.12 +SHORT_DESC="Utility to query the state of the rfkill switches."
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="MIT"
    1.15 +WEB_SITE="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WEB_SITE="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill"
    1.19  WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL"
    1.20 -TAGS="kernel"
    1.21 +
    1.22 +BUILD_DEPENDS=""
    1.23 +
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 -BUILD_DEPENDS="wget"
    1.27 -
    1.28  # What is the latest version available today?
    1.29  current_version()
    1.30  {
    1.31 @@ -24,16 +26,16 @@
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile
    1.36 -	sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile
    1.37 -	sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile
    1.38 -	sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile
    1.39 -	make && make DESTDIR=$DESTDIR install
    1.40 +	sed -i	-e 's/BINDIR) rfkill/BINDIR)/' \
    1.41 +		-e 's|-m 755 -t|-m 755 rfkill|' \
    1.42 +		-e 's|man8/ rfkill\.8\.gz|man8/|' \
    1.43 +		-e 's|-m 644 -t|-m 644 rfkill.8.gz|'	Makefile
    1.44 +	make &&
    1.45 +	make install DESTDIR=$DESTDIR
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr
    1.52 -	cp -a $install/usr/sbin $fs/usr
    1.53 +	cook_copy_folders	sbin
    1.54  }