aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/libev/template
blob: 0fbb29eeb0a275a0855c81d695677f083e5c69ed (plain) (blame)
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
# Template file for 'libev'
pkgname=libev
version=4.33
revision=1
build_style=gnu-configure
short_desc="High-performance event loop loosely modelled after libevent"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, BSD-2-Clause"
homepage="http://software.schmorp.de/pkg/libev.html"
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea

post_install() {
	# Conflicts with libevent, not necessary.
	rm -f ${DESTDIR}/usr/include/event.h
	vlicense LICENSE
}

libev-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - Development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/share/man
	}
}