wok-6.x annotate net-snmp/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
parents | 3765f181a6d5 |
children | 9ec990a361cd |
rev | line source |
---|---|
allan316@3226 | 1 # SliTaz package receipt. |
allan316@3226 | 2 |
allan316@3226 | 3 PACKAGE="net-snmp" |
slaxemulator@10221 | 4 VERSION="5.6.1" |
allan316@3226 | 5 CATEGORY="network" |
allan316@3226 | 6 SHORT_DESC="snmp tools" |
allan316@3226 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15584 | 8 LICENSE="BSD" |
allan316@3226 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3226 | 10 WEB_SITE="http://net-snmp.sourceforge.net" |
allan316@3226 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4969 | 12 TAGS="snmp" |
allan316@3226 | 13 |
pascal@15584 | 14 DEPENDS="openssl" |
pascal@15584 | 15 BUILD_DEPENDS="perl openssl-dev file" |
pascal@15584 | 16 |
allan316@3226 | 17 # Rules to configure and make the package. |
allan316@3226 | 18 compile_rules() |
allan316@3226 | 19 { |
allan316@3226 | 20 ./configure \ |
allan316@3226 | 21 --prefix=/usr \ |
allan316@3226 | 22 --with-default-snmp-version="1" \ |
allan316@3226 | 23 --with-sys-contact="user@localhost" \ |
allan316@3226 | 24 --with-sys-location="unknown" \ |
allan316@3226 | 25 --with-logfile="/var/log/snmpd.log" \ |
allan316@3226 | 26 --with-persistent-directory="/var/net-snmp" \ |
allan316@3226 | 27 $CONFIGURE_ARGS && |
pascal@22346 | 28 make -j 1 && make -j 1 DESTDIR=$DESTDIR install |
allan316@3226 | 29 } |
allan316@3226 | 30 |
allan316@3226 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3226 | 32 genpkg_rules() |
allan316@3226 | 33 { |
allan316@3226 | 34 mkdir -p $fs/usr/lib/ |
pascal@15584 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 36 cp -a $install/usr/sbin $fs |
pascal@15584 | 37 cp -a $install/usr/share $fs/usr |
pascal@15584 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib |
pascal@15584 | 39 cp -a $install/usr/lib/perl5 $fs/usr/lib |
allan316@3226 | 40 } |
allan316@3226 | 41 |