# Maintainer: Your Name pkgname=snmp++ pkgver=3.2.25 pkgrel=1 epoch= pkgdesc="C++ API implementing SNMPv1/v2c/v3 protocol operations" arch=('i686' 'x86_64') url="http://www.agentpp.com/index.html" license=('custom') groups=() depends=(gcc-libs) makedepends=() checkdepends=() optdepends=(libdes) provides=() conflicts=() replaces=() backup=() options=() install= changelog= source=(http://www.agentpp.com/${pkgname}v$pkgver.tar.gz) noextract=() md5sums=('71fe913ef5669d2074ca3eba3d65f00d') build() { cd "$srcdir/$pkgname" # Disable SNMPv3 (disabling the need of libdes 4.01a) line 66 header=include/snmp_pp/config_snmp_pp.h sed "s/^\/\/ #define _NO_SNMPv3$/#define _NO_SNMPv3/g" \ $header > $header.new mv $header.new $header cd "src/" make -f Makefile.linux } # check() { # } package() { cd "$srcdir/$pkgname/src/" make -f Makefile.linux INSTPREFIX="usr/" DESTDIR="$pkgdir/" install cd "$pkgdir" chmod 644 usr/lib/libsnmp++.a } # vim:set ts=2 sw=2 et: