net-snmp: disable perl/python bindings.

This commit is contained in:
Juan RP 2014-05-09 11:33:45 +02:00
parent b17bb1d032
commit 5c7473421b

View file

@ -1,11 +1,9 @@
# Template build file for 'net-snmp'. # Template build file for 'net-snmp'.
pkgname=net-snmp pkgname=net-snmp
version=5.7.1 version=5.7.1
revision=5 revision=6
hostmakedepends="pkg-config perl python" hostmakedepends="pkg-config"
makedepends="bzip2-devel openssl-devel libnl-devel pciutils-devel makedepends="bzip2-devel openssl-devel libnl-devel pciutils-devel"
python-devel python-distribute perl>=5.16"
depends="python perl>=5.16"
short_desc="Simple Network Management Protocol (SNMP) suite" short_desc="Simple Network Management Protocol (SNMP) suite"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.net-snmp.org/" homepage="http://www.net-snmp.org/"
@ -15,11 +13,12 @@ checksum=7c71c9650c65b715356547e20ca2dbe6313944278af8cc19c32a5337f46b181f
do_configure() { do_configure() {
./configure ${configure_args} --enable-ucd-snmp-compatibility \ ./configure ${configure_args} --enable-ucd-snmp-compatibility \
--enable-ipv6 --with-python-modules --with-default-snmp-version="3" \ --enable-ipv6 --with-default-snmp-version="3" \
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \ --with-sys-contact="root@localhost" --with-sys-location="Unknown" \
--with-logfile=/var/log/snmpd.log \ --with-logfile=/var/log/snmpd.log \
--with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \ --with-mib-modules="host misc/ipfwacc ucd-snmp/diskio tunnel ucd-snmp/dlmod" \
--with-persistent-directory=/var/net-snmp --disable-static --with-persistent-directory=/var/net-snmp --disable-static \
--without-python --without-perl
} }
do_build() { do_build() {
@ -27,8 +26,7 @@ do_build() {
} }
do_install() { do_install() {
make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} \ make DESTDIR=${DESTDIR} INSTALL_PREFIX=${DESTDIR} INSTALLDIRS=vendor install
INSTALLDIRS=vendor install
} }
libnet-snmp_package() { libnet-snmp_package() {
@ -39,7 +37,7 @@ libnet-snmp_package() {
} }
net-snmp-devel_package() { net-snmp-devel_package() {
depends="libnet-snmp>=$version" depends="libnet-snmp>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin/net-snmp-config vmove usr/bin/net-snmp-config