aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/pi-blaster/pi-blaster.inc
blob: 1f4cc2f5a1ef4a38206e11eb38df9e1c1751caea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "This project enables PWM on the GPIO pins you request of a Raspberry Pi."
HOMEPAGE = "https://github.com/sarfata/pi-blaster/"
SECTION = "devel/libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://README.md;beginline=157;endline=170;md5=f20832f31126609af5a7bf2340014540"

SRC_URI = "git://github.com/sarfata/pi-blaster \
           file://remove-initscript-lsb-dependency.patch \
           file://0001-handle-install-data-hook-when-cross-compile.patch \
"

S = "${WORKDIR}/git"

inherit update-rc.d autotools

INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "${PN}.boot.sh"
INITSCRIPT_PARAMS_${PN} = "defaults 15 85"

COMPATIBLE_MACHINE = "raspberrypi"

PACKAGE_ARCH = "${MACHINE_ARCH}"