wok-next annotate rfkill/receipt @ rev 21397
opentyrian: add "glib" to bdeps for /usr/bin/glib-compile-schemas
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 18 17:26:44 2020 +0300 (2020-04-18) |
parents | 8e1b2a143eb3 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
slaxemulator@9313 | 2 |
slaxemulator@9313 | 3 PACKAGE="rfkill" |
pankso@16395 | 4 VERSION="0.5" |
slaxemulator@9313 | 5 CATEGORY="system-tools" |
slaxemulator@9313 | 6 SHORT_DESC="Utility to query the state of the rfkill switches" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15600 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="https://wireless.wiki.kernel.org/en/users/Documentation/rfkill" |
al@21020 | 10 |
pankso@16395 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16395 | 12 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL" |
pankso@16395 | 13 |
al@21020 | 14 compile_rules() { |
slaxemulator@9313 | 15 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile |
slaxemulator@9313 | 16 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile |
slaxemulator@9313 | 17 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile |
slaxemulator@9313 | 18 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile |
al@21020 | 19 |
al@21020 | 20 make && |
al@21020 | 21 make DESTDIR=$install install |
slaxemulator@9313 | 22 } |
slaxemulator@9313 | 23 |
al@21020 | 24 genpkg_rules() { |
al@21020 | 25 copy @std |
al@21020 | 26 TAGS="kernel" |
slaxemulator@9313 | 27 } |