aboutsummaryrefslogtreecommitdiffstats
path: root/main/subunit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-31 18:59:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-01 08:42:43 +0000
commit2dcd1f62c3a2f73c982a2e0952ea0099a088b82d (patch)
treeeb6791f412a2ffd60f05ff35ffb4255bfdc694bf /main/subunit/APKBUILD
parent235c03090cb5b6ed29c730cacde6a8ccbbd34b47 (diff)
downloadaports-2dcd1f62c3a2f73c982a2e0952ea0099a088b82d.tar.bz2
aports-2dcd1f62c3a2f73c982a2e0952ea0099a088b82d.tar.xz
main/subunit: moved from testing
Diffstat (limited to 'main/subunit/APKBUILD')
-rw-r--r--main/subunit/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/main/subunit/APKBUILD b/main/subunit/APKBUILD
new file mode 100644
index 0000000000..e77f9b1b0b
--- /dev/null
+++ b/main/subunit/APKBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=subunit
+pkgver=0.0.15
+pkgrel=0
+pkgdesc="A streaming protocol for test results"
+url="https://launchpad.net/subunit"
+arch="all"
+license="Apache BSD"
+depends="python"
+depends_dev=""
+makedepends="$depends_dev check-dev cppunit-dev perl-dev python-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-libs"
+source="https://launchpad.net/subunit/trunk/$pkgver/+download/subunit-$pkgver.tar.gz"
+
+_builddir="$srcdir"/subunit-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="5d3619500e47ebe099113c5f29f640d7 subunit-0.0.15.tar.gz"
+sha256sums="a4196b7337cc51e15abb1de2e9c0ecd5c836774c9ca8e504012c83c856674698 subunit-0.0.15.tar.gz"
+sha512sums="f73c29371a4eb2c0b9257e6e0a829378755ddcf276f2b9f9117b0024756395994739e2e9a14df0f6b5a04356238ea46b8bcbdcb2be7ccece4e2b8748ceb951c5 subunit-0.0.15.tar.gz"