~alpine/devel

Initial APKBUILD of halberd v1 PROPOSED

Fabian Affolter: 1
 Initial APKBUILD of halberd

 1 files changed, 42 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/90/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] Initial APKBUILD of halberd Export this patch

---
 testing/halberd/APKBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 testing/halberd/APKBUILD

diff --git a/testing/halberd/APKBUILD b/testing/halberd/APKBUILD
new file mode 100644
index 0000000..bc62684
--- /dev/null
+++ b/testing/halberd/APKBUILD
@@ -0,0 +1,42 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=halberd
pkgver=0.2.4
pkgrel=0
pkgdesc="Tool to discover HTTP load balancers"
url="http://halberd.superadditive.com"
arch="noarch"
license="GPL2+"
depends="python"
makedepends="python-dev "
install=""
subpackages="$pkgname-doc"
source="http://$pkgname.superadditive.com/dist/$pkgname-$pkgver.tar.gz
        $pkgname-sslwrap.patch"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	patch -p1 -i "$srcdir"/$pkgname-sslwrap.patch || return 1
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py bdist_dumb --keep-temp --bdist-dir "$pkgdir" || return 1
}

doc() {
    # The man page is not picked-up automatically
	mkdir -p "$subpkgdir"/usr/share/man || return 1
    mv "$_builddir"/man/man* "$subpkgdir"/usr/share/man/ || return 1
}


md5sums="d60d0fba8f379ea72c623ad1dd6052c3  halberd-0.2.4.tar.gz
1fe48ed2a0ef58e8a387ab23368d637c  halberd-sslwrap.patch"
-- 
1.7.4.5



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
You got "halberd" in the summary line in commit message. Good!

On Sat, 25 Jun 2011 21:44:30 +0000
Fabian Affolter <fabian@affolter-engineering.ch> wrote: