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.

44 lines
1.2 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=liborcania
  7. PKG_VERSION:=2.2.1
  8. PKG_RELEASE:=$(AUTORELEASE)
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=https://codeload.github.com/babelouest/orcania/tar.gz/v$(PKG_VERSION)?
  11. PKG_HASH:=a9f16856aa311b8926cba2075d5245e94f30436f8a762a7e897ee7c8d335c59e
  12. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  13. PKG_LICENSE:=LGPL-2.1-or-later
  14. PKG_LICENSE_FILES:=LICENSE
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/orcania-$(PKG_VERSION)
  16. CMAKE_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/liborcania
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=Functionality required by libulfius.
  23. URL:=https://github.com/babelouest/orcania
  24. PROVIDES:=liborcania
  25. endef
  26. define Package/liborcania/description
  27. Potluck with different functions for different purposes that can be shared among C programs.
  28. endef
  29. define Package/liborcania/install
  30. $(INSTALL_DIR) $(1)/usr/lib
  31. $(CP) $(PKG_INSTALL_DIR)/usr/lib/liborcania.so.* \
  32. $(1)/usr/lib/
  33. endef
  34. $(eval $(call BuildPackage,liborcania))