wok annotate net-snmp/receipt @ rev 23949

syslinux/taziso: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 18:21:19 2020 +0000 (2020-09-20)
parents 937925ea7478
children e2073ef01171
rev   line source
allan316@3226 1 # SliTaz package receipt.
allan316@3226 2
allan316@3226 3 PACKAGE="net-snmp"
Hans-G?nter@23234 4 VERSION="5.8"
allan316@3226 5 CATEGORY="network"
Hans-G?nter@23234 6 TAGS="snmp"
Hans-G?nter@23234 7 SHORT_DESC="SNMP tools."
allan316@3226 8 MAINTAINER="allan316@gmail.com"
pascal@15584 9 LICENSE="BSD"
Hans-G?nter@23234 10 WEB_SITE="https://sourceforge.net/projects/net-snmp/"
Hans-G?nter@23234 11
allan316@3226 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3226 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
allan316@3226 14
pascal@15584 15 DEPENDS="openssl"
Hans-G?nter@23234 16 BUILD_DEPENDS="file openssl-dev perl"
pascal@15584 17
allan316@3226 18 # Rules to configure and make the package.
allan316@3226 19 compile_rules()
allan316@3226 20 {
Hans-G?nter@23234 21 ./configure \
Hans-G?nter@23234 22 --prefix=/usr \
Hans-G?nter@23234 23 --with-default-snmp-version="1" \
Hans-G?nter@23234 24 --with-sys-contact="user@localhost" \
Hans-G?nter@23234 25 --with-sys-location="unknown" \
Hans-G?nter@23234 26 --with-logfile="/var/log/snmpd.log" \
Hans-G?nter@23234 27 --with-persistent-directory="/var/net-snmp" \
allan316@3226 28 $CONFIGURE_ARGS &&
Hans-G?nter@23234 29 make -j 1 &&
Hans-G?nter@23234 30 make -j 1 DESTDIR=$DESTDIR install
allan316@3226 31 }
allan316@3226 32
allan316@3226 33 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3226 34 genpkg_rules()
allan316@3226 35 {
allan316@3226 36 mkdir -p $fs/usr/lib/
Hans-G?nter@23234 37
Hans-G?nter@23234 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23234 39 cp -a $install/usr/sbin $fs
Hans-G?nter@23234 40 cp -a $install/usr/share $fs/usr
Hans-G?nter@23234 41 cp -a $install/usr/lib/*so* $fs/usr/lib
Hans-G?nter@23234 42 cp -a $install/usr/lib/perl5 $fs/usr/lib
allan316@3226 43 }
allan316@3226 44