Ignore:
Timestamp:
2010-04-17T15:16:17+02:00 (7 years ago)
Author:
acinonyx
Message:

[packages] mini_snmpd: Merge mini_snmpd_ipv6 with mini_snmpd

  • add ipv6 module dependency if IPV6 support is selected
  • update ipv6 patch to compile IPv6 support conditionally
  • cleanup Makefile
  • refresh patches
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/mini_snmpd/Makefile

    r17138 r20955  
    11# 
    2 # Copyright (C) 2009 OpenWrt.orgv 
     2# Copyright (C) 2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=mini_snmpd 
    1111PKG_VERSION:=1.0 
    12 PKG_RELEASE:=5 
     12PKG_RELEASE:=6 
    1313 
    1414PKG_SOURCE:=mini_snmpd.tar.gz 
     
    2525  TITLE:=SNMP server for embedded systems 
    2626  URL:=http://members.aon.at/linuxfreak/linux/mini_snmpd.html 
     27  DEPENDS:=+IPV6:kmod-ipv6 
    2728endef 
    2829 
    2930 
    30 define Build/Compile 
    31         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    32                 CC="$(TARGET_CC)" \ 
    33                 OFLAGS="$(TARGET_CFLAGS) -DSYSLOG" \ 
    34                 STRIP="/bin/true" \ 
    35                 INSTALL_ROOT="$(PKG_INSTALL_DIR)" \ 
    36                 mini_snmpd install 
    37 endef 
     31MAKE_FLAGS+= \ 
     32        STRIP="/bin/true" \ 
     33        INSTALL_ROOT="$(PKG_INSTALL_DIR)" \ 
     34        mini_snmpd install 
     35 
     36ifeq ($(CONFIG_IPV6),y) 
     37MAKE_FLAGS+= OFLAGS="$(TARGET_CFLAGS) -DSYSLOG -DIPV6" 
     38else 
     39MAKE_FLAGS+= OFLAGS="$(TARGET_CFLAGS) -DSYSLOG" 
     40endif 
    3841 
    3942define Package/mini-snmpd/install 
Note: See TracChangeset for help on using the changeset viewer.