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