wok-next annotate 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 |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
mallory@2683 | 2 |
mallory@2683 | 3 PACKAGE="libev" |
slaxemulator@10206 | 4 VERSION="4.04" |
mallory@2683 | 5 CATEGORY="system-tools" |
al@20464 | 6 SHORT_DESC="A full-featured and high-performance event loop" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
al@20464 | 9 WEB_SITE="http://software.schmorp.de/pkg/libev.html" |
al@20464 | 10 |
mallory@2683 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@2683 | 12 WGET_URL="http://dist.schmorp.de/libev/$TARBALL" |
mallory@2683 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-dev" |
al@20464 | 15 |
al@20464 | 16 compile_rules() { |
slaxemulator@10206 | 17 ./configure $CONFIGURE_ARGS && |
al@20575 | 18 fix libtool && |
al@20557 | 19 make && |
al@20557 | 20 make install || return 1 |
al@20557 | 21 |
al@20557 | 22 # /usr/include/event.h conflicts with libevent-dev |
al@20557 | 23 # https://www.opencsw.org/mantis/view.php?id=4376 |
al@20557 | 24 mv $install/usr/include/event.h $install/usr/include/ev-event.h |
mallory@2683 | 25 } |
mallory@2683 | 26 |
al@20464 | 27 genpkg_rules() { |
al@20464 | 28 case $PACKAGE in |
al@20557 | 29 libev) copy @std;; |
al@20557 | 30 *-dev) copy @dev;; |
al@20464 | 31 esac |
mallory@2683 | 32 } |