summaryrefslogtreecommitdiffstats
path: root/testing/tut/APKBUILD
blob: 502a3ceadf5594068b3d27fc2abdcd2add653edc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=tut
pkgver=20090830
_pkgver=2009-08-30
pkgrel=0
pkgdesc="template unit test framework"
url="http://tut-framework.sourceforge.net/"
arch="noarch"
license="BSD"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://sourceforge.net/projects/tut-framework/files/TUT/TUT-${_pkgver}/TUT-${_pkgver}.tar.gz"

_builddir="$srcdir"/tut-${_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() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/include
	cp -R "$_builddir"/tut/ "$pkgdir"/usr/include/tut/
	cp "$_builddir"/*.h "$pkgdir"/usr/include
}

md5sums="2f32ef60724aefd1a655d766e4662005  TUT-2009-08-30.tar.gz"