wok view rcswitch-pi/receipt @ rev 22348
xarchiver: removed modification of desktop file
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 18 10:22:34 2019 +0100 (2019-11-18) |
parents | |
children | 89c8d8b6cf48 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rcswitch-pi"
4 GITHASH="2c9c027217ae0b4fe132e0725db166ac29f93974"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="system-tools"
7 SHORT_DESC="Control remote power sockets using the Raspberry Pi."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://github.com/r10r/rcswitch-pi"
12 WGET_URL="git|git://github.com/r10r/rcswitch-pi.git"
13 HOST_ARCH="arm"
15 DEPENDS="wiringpi"
16 BUILD_DEPENDS="wiringpi-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 git checkout ${GITHASH} &&
22 make
23 }
25 # SliTaz package testsuite
26 testsuite() {
27 readelf -h ${src}/send || return 1
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 install -m 0755 ${src}/send ${fs}/usr/bin/${PACKAGE}
35 }