#!/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 " 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