From aa86f1503ea0d12434884d165bf39eaf5d6af243 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Fri, 9 Oct 2020 22:36:26 +0200 Subject: [PATCH] sipcalc: add IPv4/IPv6 calculator Sipcalc is an advanced ip calculator supporting both IPv4 and IPv6. Signed-off-by: Nick Hainke --- utils/sipcalc/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 utils/sipcalc/Makefile diff --git a/utils/sipcalc/Makefile b/utils/sipcalc/Makefile new file mode 100644 index 000000000..17a0f6d56 --- /dev/null +++ b/utils/sipcalc/Makefile @@ -0,0 +1,41 @@ +# +# This software is licensed under the Public Domain. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=sipcalc +PKG_SOURCE_DATE:=2014-10-24 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/sii/sipcalc +PKG_SOURCE_VERSION:=9b97dbca1a0ccaaeb322b8f0a4100dc234cfcc8c +PKG_MIRROR_HASH:=fac4a3e967055bac734bda86c34d318c9bf8dc17b0feb24f556b1d5af57d2896 + +PKG_MAINTAINER:=Nick Hainke +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=COPYING + +PKG_BUILD_PARALLEL:=1 +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk + +define Package/sipcalc + SECTION:=utils + CATEGORY:=Utilities + TITLE:=IPv4/IPv6 Calculator + URL:=https://github.com/sii/sipcalc +endef + +define Package/sipcalc/description + Sipcalc is an advanced ip calculator supporting both IPv4 and IPv6. +endef + +define Package/sipcalc/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sipcalc $(1)/usr/sbin/sipcalc +endef + +$(eval $(call BuildPackage,sipcalc))