summaryrefslogtreecommitdiff
path: root/logc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'logc/Makefile')
-rw-r--r--logc/Makefile74
1 files changed, 0 insertions, 74 deletions
diff --git a/logc/Makefile b/logc/Makefile
deleted file mode 100644
index 1a4eb58..0000000
--- a/logc/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-## Copyright (C) 2020 CZ.NIC z.s.p.o. (https://www.nic.cz/)
-#
-## This is free software, licensed under the GNU General Public License v3.
-# See /LICENSE for more information.
-# #
-#
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=logc
-PKG_VERSION:=0.0.1
-PKG_RELEASE:=1
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://gitlab.nic.cz/turris/logc.git
-#PKG_SOURCE_VERSION:=v$(PKG_VERSION)
-PKG_SOURCE_VERSION:=8ea2adae681bffaec1e9efaad1d6b2b1fbb39496
-
-PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=LICENSE
-
-PKG_BUILD_DEPENDS:=argp-standalone
-
-PKG_INSTALL:=1
-PKG_FIXUP:=autoreconf
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/autotools.mk
-
-define Package/Common
- SECTION:=libs
- CATEGORY:=Libraries
- URL:=https://gitlab.nic.cz/turris/logc.git
-endef
-
-define Package/logc
- $(call Package/Common)
- TITLE:=logc
-endef
-
-define Package/logc-argp
- $(call Package/Common)
- TITLE:=logc-argp
-endef
-
-define Package/logc/description
- Logging library for C (LogC)
-endef
-
-define Package/logc-argp/description
- Argument parsing library for LogC base on argp.
-endef
-
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include
- $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
-
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
-endef
-
-define Package/logc/install
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblogc.so* $(1)/usr/lib/
-endef
-
-define Package/logc-argp/install
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblogc_argp.so* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,logc))
-$(eval $(call BuildPackage,logc-argp))