wok-next view libev/receipt @ rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents c4e53a39395a
children 9e5dca6702bf
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 && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 libev)
24 mkdir -p $fs/usr/lib
25 cp -a $install/usr/lib/*.so* $fs/usr/lib
26 ;;
27 *-dev)
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/include $fs/usr
30 cp -a $install/usr/lib/*.*a $fs/usr/lib
31 #cp -a $install/usr/lib/pkgconfig $fs/usr/lib
32 # /usr/include/event.h conflicts with libevent-dev
33 # https://www.opencsw.org/mantis/view.php?id=4376
34 mv $fs/usr/include/event.h $fs/usr/include/ev-event.h
35 ;;
36 esac
37 }