Changeset 31868


Ignore:
Timestamp:
2012-05-27T04:12:02+02:00 (6 years ago)
Author:
swalker
Message:

[packages] ipv6calc: update to 0.93.1

  • add a mini variant with the internal databases disabled
  • move the log programs into their own package
  • remove unrecognized configure options
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/ipv6calc/Makefile

    r29804 r31868  
    99 
    1010PKG_NAME:=ipv6calc 
    11 PKG_VERSION:=0.92.0 
     11PKG_VERSION:=0.93.1 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc 
    16 PKG_MD5SUM:=0517e88f7b70d7b1f5c501ebc59e0c1c 
     16PKG_MD5SUM:=9a5b7fdd1a90cd621dc43623976d912a 
    1717 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
    1819PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
    2122 
    22 define Package/ipv6calc 
     23define Package/ipv6calc/Default 
    2324  SECTION:=ipv6 
    2425  CATEGORY:=IPv6 
    25   TITLE:=IPv6 addresses calculations 
    2626  URL:=http://www.deepspace6.net/projects/ipv6calc.html 
    2727endef 
    2828 
    29 define Package/ipv6calc/description 
     29define Package/ipv6calc/Default/description 
    3030  ipv6calc is a small utility written in programming languate C to manipulate 
    3131  (not only) IPv6 addresses. Intentions were convering a given IPv6 address 
     
    3636endef 
    3737 
    38 CONFIGURE_ARGS += \ 
    39         --enable-static \ 
    40         --enable-shared 
     38define Package/ipv6calc 
     39  $(call Package/ipv6calc/Default) 
     40  TITLE:=IPv6 addresses calculations (full) 
     41  VARIANT:=full 
     42endef 
     43 
     44define Package/ipv6calc/description 
     45  $(call Package/ipv6calc/Default/description) 
     46  This package contains an ipv6calc with the internal databases enabled. 
     47endef 
     48 
     49define Package/ipv6calc-mini 
     50  $(call Package/ipv6calc/Default) 
     51  TITLE:=IPv6 addresses calculations (mini) 
     52  VARIANT:=mini 
     53endef 
     54 
     55define Package/ipv6calc-mini/description 
     56  $(call Package/ipv6calc/Default/description) 
     57  This package contains an ipv6calc with the internal databases disabled. 
     58endef 
     59 
     60define Package/ipv6log 
     61  $(call Package/ipv6calc/Default) 
     62  TITLE:=Webserver log helper programs (full) 
     63  VARIANT:=full 
     64endef 
     65 
     66define Package/ipv6log/description 
     67  $(call Package/ipv6calc/Default/description) 
     68  This package contains webserver log anonymization, conversion, and statistics 
     69  helper programs with the internal databases enabled. 
     70endef 
     71 
     72define Package/ipv6log-mini 
     73  $(call Package/ipv6calc/Default) 
     74  TITLE:=Webserver log helper programs (mini) 
     75  VARIANT:=mini 
     76endef 
     77 
     78define Package/ipv6log-mini/description 
     79  $(call Package/ipv6calc/Default/description) 
     80  This package contains webserver log anonymization, conversion, and statistics 
     81  helper programs with the internal databases disabled. 
     82endef 
     83 
     84ifeq ($(BUILD_VARIANT),full) 
     85        CONFIGURE_ARGS += \ 
     86                --enable-db-ieee \ 
     87                --enable-db-ipv4 \ 
     88                --enable-db-ipv6 
     89endif 
     90 
     91ifeq ($(BUILD_VARIANT),mini) 
     92        CONFIGURE_ARGS += \ 
     93                --disable-db-ieee \ 
     94                --disable-db-ipv4 \ 
     95                --disable-db-ipv6 
     96endif 
    4197 
    4298MAKE_FLAGS += \ 
     
    46102define Package/ipv6calc/install 
    47103        $(INSTALL_DIR) $(1)/usr/bin 
    48         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipv6* $(1)/usr/bin/ 
     104        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipv6calc $(1)/usr/bin/ 
    49105endef 
    50106 
     107Package/ipv6calc-mini/install = $(Package/ipv6calc/install) 
     108 
     109define Package/ipv6log/install 
     110        $(INSTALL_DIR) $(1)/usr/bin 
     111        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipv6log* $(1)/usr/bin/ 
     112endef 
     113 
     114Package/ipv6log-mini/install = $(Package/ipv6log/install) 
     115 
    51116$(eval $(call BuildPackage,ipv6calc)) 
     117$(eval $(call BuildPackage,ipv6calc-mini)) 
     118$(eval $(call BuildPackage,ipv6log)) 
     119$(eval $(call BuildPackage,ipv6log-mini)) 
Note: See TracChangeset for help on using the changeset viewer.