summaryrefslogtreecommitdiff
path: root/package/libuv/Makefile
blob: 3a8b43a61eabdff37b382faee7c7c5059f093190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libuv
PKG_VERSION:=		1.42.0
PKG_RELEASE:=		1
PKG_HASH:=		371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764
PKG_DESCR:=		multi-platform support library
PKG_SECTION:=		libs/misc
PKG_URL:=		https://github.com/libuv/libuv/
PKG_SITES:=		https://github.com/libuv/libuv/archive/refs/tags/
PKG_OPTS:=		dev

DISTFILES:=             v$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBUV,libuv,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

CONFIG_STYLE:=		cmake

libuv-install:
	$(INSTALL_DIR) $(IDIR_LIBUV)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libuv*.so* \
		$(IDIR_LIBUV)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk