wok-next diff rcswitch-pi/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rcswitch-pi/receipt Thu Jun 28 00:30:02 2018 +0300 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rcswitch-pi" 1.7 +GITHASH="2c9c027217ae0b4fe132e0725db166ac29f93974" 1.8 +VERSION="${GITHASH:0:7}" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="Control remote power sockets using the Raspberry Pi." 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="https://github.com/r10r/rcswitch-pi" 1.15 +WGET_URL="git|git://github.com/r10r/rcswitch-pi.git" 1.16 +HOST_ARCH="arm" 1.17 + 1.18 +DEPENDS="wiringpi" 1.19 +BUILD_DEPENDS="wiringpi-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + git checkout ${GITHASH} && 1.25 + make 1.26 +} 1.27 + 1.28 +# SliTaz package testsuite 1.29 +testsuite() { 1.30 + readelf -h ${src}/send || return 1 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin 1.37 + install -m 0755 ${src}/send ${fs}/usr/bin/${PACKAGE} 1.38 +}