New package: R-cran-fs-1.6.6

This commit is contained in:
Đoàn Trần Công Danh
2025-12-24 08:44:01 +07:00
parent fcfb7a4089
commit b6a3c47b0b
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,25 @@
--- a/fs/src/Makevars
+++ b/fs/src/Makevars
@@ -2,7 +2,7 @@ UNAME := $(shell uname)
LIBUV := libuv-1.44.2
-PKG_LIBS = ./$(LIBUV)/.libs/libuv.pa -pthread
+PKG_LIBS = -luv -pthread
SOURCES = $(wildcard *.cc unix/*.cc)
OBJECTS = $(SOURCES:.cc=.o)
@@ -24,11 +24,11 @@ ifneq ($(filter $(UNAME), Linux AIX OS40
OBJECTS += bsd/setmode.o bsd/strmode.o bsd/reallocarray.o
endif
-PKG_CPPFLAGS = -I./$(LIBUV)/include -I. -pthread
+PKG_CPPFLAGS = -I. -pthread
all: $(SHLIB)
-$(SHLIB): $(LIBUV)/.libs/libuv.pa
+$(SHLIB):
# Avoid re-running autoconf/automake/aclocal.
# Need the timestamps in the right order.
+15
View File
@@ -0,0 +1,15 @@
# Template file for 'R-cran-fs'
pkgname=R-cran-fs
version=1.6.6
revision=1
build_style=R-cran
makedepends="libuv-devel"
short_desc="Cross-Platform File System Operations Based on libuv"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://fs.r-lib.org/"
checksum=57d3a0844e2fec28e6fe9901d18e07d32a437dfe43c4b547757eb07360f5850a
post_install() {
vlicense LICENSE
}