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.

45 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.1.0
  8. PKG_RELEASE:=1
  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:=a83f01968ae3e68fecfb2f7029f886902718c65315008223784d2d023da515bb
  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. PKG_BUILD_PARALLEL:=1
  17. CMAKE_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. include $(INCLUDE_DIR)/cmake.mk
  20. define Package/liborcania
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=Functionality required by libulfius.
  24. URL:=https://github.com/babelouest/orcania
  25. PROVIDES:=liborcania
  26. endef
  27. define Package/liborcania/description
  28. Potluck with different functions for different purposes that can be shared among C programs.
  29. endef
  30. define Package/liborcania/install
  31. $(INSTALL_DIR) $(1)/usr/lib
  32. $(CP) $(PKG_INSTALL_DIR)/usr/lib/liborcania.so.* \
  33. $(1)/usr/lib/
  34. endef
  35. $(eval $(call BuildPackage,liborcania))