summaryrefslogtreecommitdiff
path: root/package/net-snmp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/net-snmp
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/net-snmp')
-rw-r--r--package/net-snmp/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index ddb103bbe..7352a3d07 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -10,16 +10,17 @@ PKG_MD5SUM:= 5b2551e7bd024fbbee84dca22a5f13a1
PKG_DESCR:= SNMP Agent
PKG_SECTION:= net/misc
PKG_DEPENDS:= libnetsnmp libelf
-PKG_BUILDDEP+= libelf
-PKG_NOPARALLEL:= 1
+PKG_BUILDDEP:= libelf
PKG_URL:= http://www.net-snmp.org/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
+PKG_NOPARALLEL:= 1
-PKG_DESCR_UTILS:= SNMP utilities
-PKG_DEPENDS_UTILS:= libnetsnmp libelf
-PKG_DESCR_LIBS:= SNMP library
-PKG_DEPENDS_LIBS:= libelf
-PKG_SECTION_LIBS:= libs
+PKG_SUBPKGS:= SNMPD SNMP_UTILS LIBNETSNMP
+PKGSD_SNMP_UTILS:= SNMP utilities
+PKGSS_SNMP_UTILS:= libnetsnmp libelf
+PKGSD_LIBNETSNMP:= SNMP library
+PKGSS_LIBNETSNMP:= libelf
+PKGSC_LIBNETSNMP:= libs
PKG_FLAVOURS:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
@@ -27,8 +28,8 @@ PKGFD_WITH_IPV6:= enable IPv6 support
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,SNMPD,snmpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_UTILS},${PKG_DESCR_UTILS},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_LIBS},${PKG_DESCR_LIBS},${PKG_SECTION_LIBS}))
+$(eval $(call PKG_template,SNMP_UTILS,snmp-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_SNMP_UTILS},${PKGSD_SNMP_UTILS},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNETSNMP,libnetsnmp,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBNETSNMP},${PKGSD_LIBNETSNMP},${PKGSC_LIBNETSNMP}))
SNMP_TRANSPORTS_INCLUDED:= UDP TCP Callback Unix
SNMP_TRANSPORTS_EXCLUDED:= Alias