diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 14:16:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-31 14:16:19 +0000 |
commit | 6012a7f180aa77344b9de25454fcc96931dfb757 (patch) | |
tree | f1e0bcfec0386cbbc0c628dda0d2fafc31785ace | |
parent | cd7249f838507cf1e2e7401451417c0f2879327f (diff) | |
download | alpine_aports-6012a7f180aa77344b9de25454fcc96931dfb757.tar.bz2 alpine_aports-6012a7f180aa77344b9de25454fcc96931dfb757.tar.xz alpine_aports-6012a7f180aa77344b9de25454fcc96931dfb757.zip |
testing/subunit: new aport
A streaming protocol for test results
https://launchpad.net/subunit
-rw-r--r-- | testing/subunit/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/subunit/APKBUILD b/testing/subunit/APKBUILD new file mode 100644 index 0000000000..e77f9b1b0b --- /dev/null +++ b/testing/subunit/APKBUILD | |||
@@ -0,0 +1,49 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | pkgname=subunit | ||
3 | pkgver=0.0.15 | ||
4 | pkgrel=0 | ||
5 | pkgdesc="A streaming protocol for test results" | ||
6 | url="https://launchpad.net/subunit" | ||
7 | arch="all" | ||
8 | license="Apache BSD" | ||
9 | depends="python" | ||
10 | depends_dev="" | ||
11 | makedepends="$depends_dev check-dev cppunit-dev perl-dev python-dev" | ||
12 | install="" | ||
13 | subpackages="$pkgname-dev $pkgname-libs" | ||
14 | source="https://launchpad.net/subunit/trunk/$pkgver/+download/subunit-$pkgver.tar.gz" | ||
15 | |||
16 | _builddir="$srcdir"/subunit-$pkgver | ||
17 | prepare() { | ||
18 | local i | ||
19 | cd "$_builddir" | ||
20 | for i in $source; do | ||
21 | case $i in | ||
22 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
23 | esac | ||
24 | done | ||
25 | } | ||
26 | |||
27 | build() { | ||
28 | cd "$_builddir" | ||
29 | ./configure \ | ||
30 | --build=$CBUILD \ | ||
31 | --host=$CHOST \ | ||
32 | --prefix=/usr \ | ||
33 | --sysconfdir=/etc \ | ||
34 | --mandir=/usr/share/man \ | ||
35 | --infodir=/usr/share/info \ | ||
36 | --localstatedir=/var \ | ||
37 | || return 1 | ||
38 | make || return 1 | ||
39 | } | ||
40 | |||
41 | package() { | ||
42 | cd "$_builddir" | ||
43 | make DESTDIR="$pkgdir" install || return 1 | ||
44 | rm -f "$pkgdir"/usr/lib/*.la | ||
45 | } | ||
46 | |||
47 | md5sums="5d3619500e47ebe099113c5f29f640d7 subunit-0.0.15.tar.gz" | ||
48 | sha256sums="a4196b7337cc51e15abb1de2e9c0ecd5c836774c9ca8e504012c83c856674698 subunit-0.0.15.tar.gz" | ||
49 | sha512sums="f73c29371a4eb2c0b9257e6e0a829378755ddcf276f2b9f9117b0024756395994739e2e9a14df0f6b5a04356238ea46b8bcbdcb2be7ccece4e2b8748ceb951c5 subunit-0.0.15.tar.gz" | ||