You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2010-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=libartnet
  9. PKG_VERSION:=1.1.2
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/OpenLightingProject/libartnet/releases/download/1.1.2
  13. PKG_HASH:=19cdda434e208a81ddd138377f11046364438e40e34542ae101d6aa3fcaec696
  14. PKG_MAINTAINER:=Martijn Zilverschoon <martijn@friedzombie.com>
  15. PKG_LICENSE:=GPL-2.1
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/libartnet
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=Libartnet is an implementation of the ArtNet protocol.
  23. URL:=https://www.openlighting.org/libartnet-main/
  24. endef
  25. define Package/libartnet/description
  26. Libartnet is an implementation of the ArtNet protocol. ArtNet allows the
  27. transmission of DMX and related data over IP networks.
  28. endef
  29. define Build/InstallDev
  30. mkdir -p $(1)/usr/include
  31. $(CP) $(PKG_INSTALL_DIR)/usr/include/artnet $(1)/usr/include/
  32. mkdir -p $(1)/usr/lib
  33. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libartnet.{so,so.1,so.1.0.0} $(1)/usr/lib/
  34. endef
  35. define Package/libartnet/install
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libartnet.{so,so.1,so.1.0.0} $(1)/usr/lib/
  38. endef
  39. $(eval $(call BuildPackage,libartnet))