summaryrefslogtreecommitdiffstats
path: root/testing/boost-coroutine/APKBUILD
blob: 9803a33092ec4a1b826e36b9b966bba27b19e5e0 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=boost-coroutine
pkgver=0.0.1
pkgrel=2
pkgdesc="coroutine library for boost"
url="http://www.crystalclearsoftware.com/soc/coroutine/"
arch="noarch"
license="custom:boost"
depends=
depends_dev="boost-dev pth-dev"
install=""
source="saveas-http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-12-01.tar.gz&directory=Concurrent%20Programming/boost-coroutine-2009-12-01.tar.gz
	boost-coroutine-pth.patch"

_builddir="${srcdir}/boost-coroutine"
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"/boost "$pkgdir"/usr/include/boost
}

md5sums="9837f5f2024dfc4da68bf62e0aab529a  boost-coroutine-2009-12-01.tar.gz
53d3c4752668f0332dc31bd2341db609  boost-coroutine-pth.patch"