summaryrefslogtreecommitdiff
path: root/user/net-snmp/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-01 20:44:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-01 20:44:18 +0000
commita278c3e05013fa3366554af5dee719a0ba90d798 (patch)
tree3e8b407a54ea97bc7fe4a5a2757dde27a6320e37 /user/net-snmp/APKBUILD
parent4c66fd861e536f7b7e2e68a78b748cfeb62026c4 (diff)
downloadpackages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.gz
packages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.bz2
packages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.xz
packages-a278c3e05013fa3366554af5dee719a0ba90d798.zip
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/net-snmp/APKBUILD')
-rw-r--r--user/net-snmp/APKBUILD8
1 files changed, 1 insertions, 7 deletions
diff --git a/user/net-snmp/APKBUILD b/user/net-snmp/APKBUILD
index 9f083a732..3fc1bceb4 100644
--- a/user/net-snmp/APKBUILD
+++ b/user/net-snmp/APKBUILD
@@ -26,18 +26,13 @@ source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
"
prepare() {
- update_config_sub
default_prepare
- # Allow tmpfs volume size monitoring
- # Ref #932
+ update_config_sub
sed -e 's#"tmpfs",#/* "tmpfs", */#g' -i agent/mibgroup/host/hr_filesys.c
}
build() {
- cd "$builddir"
-
export lt_cv_sys_max_cmd_len=8192
-
LIBS="-ltinfow" ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -64,7 +59,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
# remove things we dont want distribute
rm "$pkgdir"/usr/lib/libsnmp* \