aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/eio/APKBUILD
blob: 3fab3d04db9a83152e559524d68b081254d6a995 (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
41
42
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eio
pkgver=1.7.9
pkgrel=0
pkgdesc="An async I/O library"
url="http://trac.enlightenment.org/e/wiki/Eina"
arch="all"
license="LGPL2+"
depends=""
depends_dev="eet-dev eina-dev ecore-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/eio-$pkgver.tar.gz"

_builddir="$srcdir"/eio-$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 --prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="f4d6cbd216a9ae5983fa8ee8dadf04cb  eio-1.7.9.tar.gz"
sha256sums="35ce08ecf6afd5faa4fe857764537e15aede2b0d2c37922e55e97e2dff3352de  eio-1.7.9.tar.gz"
sha512sums="0c3d8420af12324397584001d352f67e0077bfb61f1180d0ab9efd61e758d71ee1fe08a307538493371cb2c154cb9e30a3731f776b7ff7ee929d82f15d0ff90d  eio-1.7.9.tar.gz"