wok-next view libuv/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 08de0069ac12
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libuv"
4 VERSION="1.23.0"
5 CATEGORY="libs"
6 SHORT_DESC="Cross-platform asychronous I/O"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://libuv.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libuv.html"
12 TARBALL="$PACKAGE-v$VERSION.tar.gz"
13 WGET_URL="https://dist.libuv.org/dist/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="automake libtool libnsl-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./autogen.sh &&
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libuv)
30 copy @std
31 DEPENDS="libnsl"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }