wok-next annotate libev/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 9e5dca6702bf |
children | d5aab818505e |
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" |
mallory@2683 | 7 MAINTAINER="mallory@sweetpeople.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@20464 | 14 SPLIT="libev-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 } |