wok-next view libev/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 0ec6086e21d6
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libev"
4 VERSION="4.04"
5 CATEGORY="system-tools"
6 SHORT_DESC="A full-featured and high-performance event loop"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://software.schmorp.de/pkg/libev.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://dist.schmorp.de/libev/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 fix libtool &&
19 make &&
20 make install || return 1
22 # /usr/include/event.h conflicts with libevent-dev
23 # https://www.opencsw.org/mantis/view.php?id=4376
24 mv $install/usr/include/event.h $install/usr/include/ev-event.h
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libev) copy @std;;
30 *-dev) copy @dev;;
31 esac
32 }