summaryrefslogtreecommitdiff
path: root/package/net-snmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/net-snmp/Makefile')
-rw-r--r--package/net-snmp/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index 1fca35b41..9fb44be22 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -105,23 +105,20 @@ CONFIGURE_ARGS+= --with-endianness=little \
--without-libwrap \
--without-rpm \
--without-zlib
-ifneq ($(ADK_IPV6),y)
-CONFIGURE_ARGS+= --disable-ipv6
-endif
+
BUILD_STYLE:= auto
-INSTALL_STYLE:= confprog auto
+INSTALL_STYLE:= auto
FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
post-install:
${INSTALL_DIR} ${IDIR_LIBNETSNMP}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnetsnmp.so* ${IDIR_LIBNETSNMP}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libnetsnmp*.so* ${IDIR_LIBNETSNMP}/usr/lib/
${INSTALL_DIR} ${IDIR_SNMPD}/etc/snmp
- ${INSTALL_DIR} ${IDIR_SNMPD}/etc/init.d
${INSTALL_DIR} ${IDIR_SNMPD}/usr/sbin
${INSTALL_DATA} ./files/snmpd.conf ${IDIR_SNMPD}/etc/snmp/snmpd.conf
- ${INSTALL_BIN} ./files/snmpd.init ${IDIR_SNMPD}/etc/init.d/snmpd
${INSTALL_BIN} ${WRKINST}/usr/sbin/snmpd ${IDIR_SNMPD}/usr/sbin/snmpd
${INSTALL_DIR} ${IDIR_SNMP_UTILS}/usr/bin
- ${CP} ${WRKINST}/usr/bin/snmp{get,set,status,test,trap,walk} ${IDIR_SNMP_UTILS}/usr/bin/
+ ${CP} ${WRKINST}/usr/bin/snmp{get,set,status,test,trap,walk} \
+ ${IDIR_SNMP_UTILS}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk