wok-next view libev/receipt @ rev 20558

openmotif: fix syntax error in receipt
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:14:50 2018 +0300 (2018-04-07)
parents 4396aed7eb01
children 0ec6086e21d6
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="mallory@sweetpeople.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="libev-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 make &&
19 make install || return 1
21 # /usr/include/event.h conflicts with libevent-dev
22 # https://www.opencsw.org/mantis/view.php?id=4376
23 mv $install/usr/include/event.h $install/usr/include/ev-event.h
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libev) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }