wok-next annotate rfkill/receipt @ rev 16723
Add python-shapely & python-geojson
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 02 18:55:25 2014 +0000 (2014-06-02) |
parents | de49f29b101e |
children | c4e53a39395a |
rev | line source |
---|---|
slaxemulator@9313 | 1 # SliTaz package receipt. |
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" |
slaxemulator@9313 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15600 | 8 LICENSE="MIT" |
pankso@16395 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@9313 | 10 WEB_SITE="http://linuxwireless.org/en/users/Documentation/rfkill" |
pankso@16395 | 11 WGET_URL="https://www.kernel.org/pub/software/network/rfkill/$TARBALL" |
slaxemulator@9313 | 12 TAGS="kernel" |
pankso@16395 | 13 HOST_ARCH="i486 arm" |
pankso@16395 | 14 |
pankso@16395 | 15 BUILD_DEPENDS="wget" |
slaxemulator@9313 | 16 |
slaxemulator@9313 | 17 # Rules to configure and make the package. |
slaxemulator@9313 | 18 compile_rules() |
slaxemulator@9313 | 19 { |
slaxemulator@9313 | 20 sed -i 's/BINDIR) rfkill/BINDIR)/' Makefile |
slaxemulator@9313 | 21 sed -i 's/-m 755 -t/-m 755 rfkill/' Makefile |
slaxemulator@9313 | 22 sed -i 's/man8\/ rfkill\.8\.gz/man8\//' Makefile |
slaxemulator@9313 | 23 sed -i 's/-m 644 -t/-m 644 rfkill.8.gz/' Makefile |
pascal@15600 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@9313 | 25 } |
slaxemulator@9313 | 26 |
slaxemulator@9313 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9313 | 28 genpkg_rules() |
slaxemulator@9313 | 29 { |
slaxemulator@9313 | 30 mkdir -p $fs/usr |
pascal@15600 | 31 cp -a $install/usr/sbin $fs/usr |
slaxemulator@9313 | 32 } |