2 # Copyright (C) 2008-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc
16 PKG_MD5SUM:=323b23779723fe1608126d17d78c632e
20 include $(INCLUDE_DIR)/package.mk
22 define Package/ipv6calc
25 TITLE:=IPv6 addresses calculations
26 URL:=http://www.deepspace6.net/projects/ipv6calc.html
29 define Package/ipv6calc/description
30 ipv6calc is a small utility written in programming languate C to manipulate
31 (not only) IPv6 addresses. Intentions were convering a given IPv6 address
32 into compressed format, convering a given IPv6 address into the same format
33 like shown in /proc/net/if_inet6 and (because it was not difficulty)
34 migrating the Perl program ip6_int into. Now only one utiltity is needed to
44 COPTS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)"
46 define Package/ipv6calc/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipv6* $(1)/usr/bin/
51 $(eval $(call BuildPackage,ipv6calc))