wok view net-snmp/receipt @ rev 22042
gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 22 12:55:54 2019 +0300 (2019-10-22) |
parents | 6acf7ee438a7 |
children | 937925ea7478 |
line source
1 # SliTaz package receipt.
3 PACKAGE="net-snmp"
4 VERSION="5.6.1"
5 CATEGORY="network"
6 SHORT_DESC="snmp tools"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://net-snmp.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="snmp"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="perl openssl-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --with-default-snmp-version="1" \
24 --with-sys-contact="user@localhost" \
25 --with-sys-location="unknown" \
26 --with-logfile="/var/log/snmpd.log" \
27 --with-persistent-directory="/var/net-snmp" \
28 $CONFIGURE_ARGS &&
29 make -j 1 && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs
38 cp -a $install/usr/share $fs/usr
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/lib/perl5 $fs/usr/lib
41 }