wok annotate net-snmp/receipt @ rev 4052
Removed libuuid and update DEPENDS for all afected pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 09 21:42:10 2009 +0200 (2009-09-09) |
parents | be68bb295c6a |
children | bee79018e13a |
rev | line source |
---|---|
allan316@3226 | 1 # SliTaz package receipt. |
allan316@3226 | 2 |
allan316@3226 | 3 PACKAGE="net-snmp" |
allan316@3226 | 4 VERSION="5.4.2.1" |
allan316@3226 | 5 CATEGORY="network" |
allan316@3226 | 6 SHORT_DESC="snmp tools" |
allan316@3226 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3228 | 8 DEPENDS="openssl" |
allan316@3228 | 9 BUILD_DEPENDS="perl openssl-dev" |
allan316@3226 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3226 | 11 WEB_SITE="http://net-snmp.sourceforge.net" |
allan316@3226 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@3226 | 13 |
allan316@3226 | 14 # Rules to configure and make the package. |
allan316@3226 | 15 compile_rules() |
allan316@3226 | 16 { |
allan316@3226 | 17 cd $src |
allan316@3226 | 18 ./configure \ |
allan316@3226 | 19 --prefix=/usr \ |
allan316@3226 | 20 --with-default-snmp-version="1" \ |
allan316@3226 | 21 --with-sys-contact="user@localhost" \ |
allan316@3226 | 22 --with-sys-location="unknown" \ |
allan316@3226 | 23 --with-logfile="/var/log/snmpd.log" \ |
allan316@3226 | 24 --with-persistent-directory="/var/net-snmp" \ |
allan316@3226 | 25 $CONFIGURE_ARGS && |
allan316@3226 | 26 make && make DESTDIR=$PWD/_pkg install |
allan316@3226 | 27 } |
allan316@3226 | 28 |
allan316@3226 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3226 | 30 genpkg_rules() |
allan316@3226 | 31 { |
allan316@3226 | 32 mkdir -p $fs/usr/lib/ |
allan316@3226 | 33 cp -a $_pkg/usr/bin $fs/usr |
allan316@3226 | 34 cp -a $_pkg/usr/sbin $fs |
allan316@3226 | 35 cp -a $_pkg/usr/share $fs/usr |
allan316@3226 | 36 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
allan316@3226 | 37 cp -a $_pkg/usr/lib/perl5 $fs/usr/lib |
allan316@3226 | 38 |
allan316@3226 | 39 } |
allan316@3226 | 40 |