# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> setvar pkgname = 'nbtscan' setvar pkgver = '1.5.1' setvar pkgrel = '0' setvar pkgdesc = ""A NetBIOS name network scanner"" setvar url = ""http://www.inetcat.net/software/nbtscan.html"" setvar arch = ""all"" setvar license = ""GPL2"" setvar depends = """" setvar depends_dev = """" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = """" setvar source = ""http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-1.5.1.tar.gz $pkgname-$pkgver-makefile.patch"" setvar _builddir = ""$srcdir"/$pkgname-"$pkgver"a" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure \ --prefix=/usr \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""85bb085077c380b82a6ff73e0de0c154 nbtscan-1.5.1.tar.gz 513430ac89e76bfdb2fd9f8bfce4cca2 nbtscan-1.5.1-makefile.patch"" setvar sha256sums = ""f9f95d5555356c8d467a576e69d9d348bf2a821ded9a85f895b5e6d21e2aa7eb nbtscan-1.5.1.tar.gz b2787e59b5b21f6f5a3d766438889daea25c3a321406c4bd275493b8cd8742ed nbtscan-1.5.1-makefile.patch"" setvar sha512sums = ""2e2ac6a3ce7b188552c4f5f82b1e2bb99049bd0cd6f69361c59066c0b262d9311186aabc0c03c3096b7d2c48276052b1ddf230eba43051e221019c9bf223ae3e nbtscan-1.5.1.tar.gz 75668565aef5d07d848c55d322c543b9394d372898d239bfb04eb2265bb0262e3b89c5bd35772db6775f4b825e13914dc792b38e09260e26a1a512e39059e1fa nbtscan-1.5.1-makefile.patch""