F: package/sofia-sip/
N: Grzegorz Blach <grzegorz@blach.pl>
+F: package/pigpio/
F: package/python-falcon/
F: package/python-mimeparse/
source "package/pdbg/Config.in"
source "package/picocom/Config.in"
source "package/pifmrds/Config.in"
+ source "package/pigpio/Config.in"
source "package/powertop/Config.in"
source "package/pps-tools/Config.in"
source "package/pru-software-support/Config.in"
--- /dev/null
+config BR2_PACKAGE_PIGPIO
+ bool "pigpio"
+ depends on BR2_aarch64 || BR2_arm
+ depends on !BR2_STATIC_LIBS
+ help
+ Pigpio is a library for the Raspberry Pi which allows
+ control of the General Purpose Input Outputs (GPIO).
+
+ http://abyz.me.uk/rpi/pigpio/
+
+comment "pigpio needs a toolchain w/ dynamic library"
+ depends on BR2_aarch64 || BR2_arm
+ depends on !BR2_STATIC_LIBS
--- /dev/null
+# Locally calculated
+sha256 4255310dd11ed81035b60711becad081a1eaad2905f704e3eb84e692ca7e4c3d pigpio-V67.tar.gz
+sha256 6a90b88421a0d9b090e121daa11b3c6d55eed5eeb3281a2fcc454d6a28b5547c UNLICENCE
--- /dev/null
+################################################################################
+#
+# pigpio
+#
+################################################################################
+
+PIGPIO_VERSION = V67
+PIGPIO_SITE = $(call github,joan2937,pigpio,$(PIGPIO_VERSION))
+PIGPIO_LICENSE = Unlicense
+PIGPIO_LICENSE_FILES = UNLICENCE
+
+define PIGPIO_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define PIGPIO_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/pig2vcd $(TARGET_DIR)/usr/bin/pig2vcd
+ $(INSTALL) -D -m 0755 $(@D)/pigpiod $(TARGET_DIR)/usr/bin/pigpiod
+ $(INSTALL) -D -m 0755 $(@D)/pigs $(TARGET_DIR)/usr/bin/pigs
+ $(INSTALL) -D -m 0755 $(@D)/libpigpio.so $(TARGET_DIR)/usr/lib/libpigpio.so
+ $(INSTALL) -D -m 0755 $(@D)/libpigpiod_if.so $(TARGET_DIR)/usr/lib/libpigpiod_if.so
+ $(INSTALL) -D -m 0755 $(@D)/libpigpiod_if2.so $(TARGET_DIR)/usr/lib/libpigpiod_if2.so
+endef
+
+$(eval $(generic-package))