avahi: backport CVE fixes from upstream
[feed/packages.git] / libs / davici / Makefile
1 #
2 # Copyright (C) 2023 TDT AG <development@tdt.de>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See https://www.gnu.org/licenses/gpl-2.0.txt for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=davici
11 PKG_VERSION:=1.4
12 PKG_RELEASE=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://codeload.github.com/strongswan/davici/tar.gz/v$(PKG_VERSION)?
16 PKG_HASH:=b03c5a1aad905e962271d70246d6af6c337ffd00449d990082ea02161327bde8
17
18 PKG_MAINTAINER:=Lukas Voegl <lvoegl@tdt.de>
19 PKG_LICENSE:=LGPL-2.1-or-later
20 PKG_LICENSE_FILES:=COPYING
21 PKG_CPE_ID:=cpe:/a:strongswan:davici
22
23 PKG_FIXUP:=autoreconf
24 PKG_BUILD_PARALLEL:=1
25 PKG_INSTALL:=1
26
27 include $(INCLUDE_DIR)/package.mk
28
29 define Package/davici
30 SECTION:=libs
31 CATEGORY:=Libraries
32 TITLE:=Decoupled Asynchronous VICI
33 URL:=https://github.com/strongswan/davici
34 endef
35
36 define Package/davici/description
37 The davici library provides a client implementation of the
38 strongSwan VICI protocol for integration into external applications.
39 endef
40
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)/usr/include
43 $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
44
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdavici.so* $(1)/usr/lib/
47 endef
48
49 define Package/davici/install
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdavici.so* $(1)/usr/lib/
52 endef
53
54 $(eval $(call BuildPackage,davici))