mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
urg: new package
[Peter: drop 'library' from name] Cc: Eric Jarrige <eric.jarrige@armadeus.org> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
eaf746eb9e
commit
976e3b2dc4
@ -464,6 +464,7 @@ source "package/libv4l/Config.in"
|
|||||||
source "package/mtdev/Config.in"
|
source "package/mtdev/Config.in"
|
||||||
source "package/neardal/Config.in"
|
source "package/neardal/Config.in"
|
||||||
source "package/pcsc-lite/Config.in"
|
source "package/pcsc-lite/Config.in"
|
||||||
|
source "package/urg/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Javascript"
|
menu "Javascript"
|
||||||
|
13
package/urg/Config.in
Normal file
13
package/urg/Config.in
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
config BR2_PACKAGE_URG
|
||||||
|
bool "urg"
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
select BR2_PACKAGE_SDL
|
||||||
|
select BR2_PACKAGE_SDL_NET
|
||||||
|
help
|
||||||
|
Library to control Hokuyo's URG series sensors.
|
||||||
|
Requires SDL & SDL_net.
|
||||||
|
|
||||||
|
http://www.hokuyo-aut.jp/02sensor/07scanner/download/urg_programs_en/
|
||||||
|
|
||||||
|
comment "urg requires a toolchain with C++ support"
|
||||||
|
depends on !BR2_INSTALL_LIBSTDCPP
|
27
package/urg/urg.mk
Normal file
27
package/urg/urg.mk
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# urg library
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
URG_VERSION = 0.8.18
|
||||||
|
URG_SITE = http://www.hokuyo-aut.jp/02sensor/07scanner/download/urg_programs_en/
|
||||||
|
URG_SOURCE = urg-$(URG_VERSION).zip
|
||||||
|
URG_LICENSE = LGPLv3+
|
||||||
|
URG_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
URG_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
URG_DEPENDENCIES = sdl sdl_net
|
||||||
|
|
||||||
|
URG_CONF_OPT = --with-sdl-prefix=$(STAGING_DIR)/usr \
|
||||||
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
||||||
|
|
||||||
|
define URG_EXTRACT_CMDS
|
||||||
|
$(RM) -rf $(URG_DIR)
|
||||||
|
unzip -q -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE)
|
||||||
|
test -d $(URG_DIR) || \
|
||||||
|
mv $(BUILD_DIR)/$(subst .zip,,$(URG_SOURCE)) $(URG_DIR)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
x
Reference in New Issue
Block a user