wok diff rcswitch-pi/receipt @ rev 21150

updated libbsd and libbsd-dev (0.6.0 -> 0.9.1)
author Hans-G?nter Theisgen
date Sat Mar 30 10:57:18 2019 +0100 (2019-03-30)
parents
children 89c8d8b6cf48
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rcswitch-pi/receipt	Sat Mar 30 10:57:18 2019 +0100
     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 +}