|
root / base / libev
libev Plain Text 47 lines 1.2 KB
 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
45
46
#!/bin/sh
# Build script for libev (autotools, Template A). No deps. Ships no .pc
# upstream - picom and other consumers locate it via ev.h/-lev directly.
set -e
cd "$SRCDIR"

if [ -f configure ]; then
    sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure
fi

export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS"
export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib"

./configure \
    --prefix="$PREFIX" \
    --build="$BUILD_TRIPLE" \
    --host="$BUILD_TRIPLE" \
    --sysconfdir="$SYSCONFDIR" \
    --disable-static

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# libev - high-performance event loop library (picom)
# http://software.schmorp.de/pkg/libev.html

[package]
name = "libev"
version = "4.33"
release = 1
description = "High-performance full-featured event loop"
url = "http://software.schmorp.de/pkg/libev.html"
license = "BSD-2-Clause OR GPL-2.0-or-later"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "libev-4.33.tar.gz"
urls = ["http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz"]
checksum = "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"

[build]
parallel = true