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.

41 lines
982 B

  1. #
  2. # This software is licensed under the Public Domain.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=sipcalc
  6. PKG_SOURCE_DATE:=2014-10-24
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_URL:=https://github.com/sii/sipcalc
  10. PKG_SOURCE_VERSION:=9b97dbca1a0ccaaeb322b8f0a4100dc234cfcc8c
  11. PKG_MIRROR_HASH:=fac4a3e967055bac734bda86c34d318c9bf8dc17b0feb24f556b1d5af57d2896
  12. PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
  13. PKG_LICENSE:=BSD-3-Clause
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_BUILD_PARALLEL:=1
  16. PKG_FIXUP:=autoreconf
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/sipcalc
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=IPv4/IPv6 Calculator
  22. URL:=https://github.com/sii/sipcalc
  23. endef
  24. define Package/sipcalc/description
  25. Sipcalc is an advanced ip calculator supporting both IPv4 and IPv6.
  26. endef
  27. define Package/sipcalc/install
  28. $(INSTALL_DIR) $(1)/usr/sbin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sipcalc $(1)/usr/sbin/sipcalc
  30. endef
  31. $(eval $(call BuildPackage,sipcalc))