summaryrefslogblamecommitdiff
path: root/user/libev/APKBUILD
blob: eb2a629e6ac9c10c77f5ce11ef7f2fbb414d46dc (plain) (tree)
1
2
3
4


                                                         
           


















                                                                           








                                 



                                          
                                                                                                                                                               
                                                                                                                                                                         
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: 
pkgname=libev
pkgver=4.31
pkgrel=0
pkgdesc="Event dispatch library"
url="http://software.schmorp.de/pkg/libev.html"
arch="all"
options="!check"  # No test suite.
license="BSD-2-Clause OR GPL-2.0+"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://dist.schmorp.de/${pkgname}/Attic/${pkgname}-${pkgver}.tar.gz
	libev-4.11-Add-pkgconfig-support.patch
	"

prepare() {
	default_prepare
	libtoolize --force && aclocal -I m4 && autoheader && autoconf \
		&& automake --add-missing
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	make -j1 DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/include/event.h
}

sha512sums="c2687c2e538c724ec8d02ce5bf6875d2e697c57623c4d5c4e6a09c5c480dd7ea38bb7af290f120ff9e61f0ecfc9b6a07a653a9f44ea8ecf2487438756105bd18  libev-4.31.tar.gz
b5bc1b5ed1e605cd45a01adce70c1a97188c0b46a36333f12eccd4407c95d96f18adff90ee8c5733c1783a36b4adc5ef67d6b470104339a1ac5c4539a2a4599e  libev-4.11-Add-pkgconfig-support.patch"