blob: 011f55d67c3da577eef1e504f7c9efffdd1d0a81 (
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
43
44
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eina
pkgver=1.7.9
pkgrel=1
pkgdesc="Enlightenment's data types library (List, hash, etc) in C"
url="http://trac.enlightenment.org/e/wiki/Eina"
arch="all"
license="LGPL2+"
depends=
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$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 \
--enable-amalgamation \
--enable-pthread \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="cddf2755e20bfb3f90764fd2b689b888 eina-1.7.9.tar.gz"
sha256sums="b7fe26d98b80479d0f72be47b2584dfa243e4d18774cb824acc398354a45d520 eina-1.7.9.tar.gz"
sha512sums="f3b7b1951814c457bc94a4678c5c6242a4baada5953d5616092673b6d2b4516cb70c47e935b6f7b393d469627b53a05eb99c4249d19d5d9a3d8a263b2cd4e42d eina-1.7.9.tar.gz"
|