mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
opt: cygfuse: fuse.cygport and related changes
This commit is contained in:
36
opt/cygfuse/fuse.cygport
Normal file
36
opt/cygfuse/fuse.cygport
Normal file
@ -0,0 +1,36 @@
|
||||
NAME="fuse"
|
||||
VERSION="$(cat version)"
|
||||
RELEASE=1
|
||||
CATEGORY="Utils"
|
||||
SUMMARY="WinFsp-FUSE compatibility layer"
|
||||
DESCRIPTION="WinFsp-FUSE enables FUSE file systems to be run on Cygwin."
|
||||
HOMEPAGE="http://www.secfs.net/winfsp/"
|
||||
|
||||
SRC_URI="https://github.com/billziss-gh/winfsp/archive/master.tar.gz"
|
||||
SRC_DIR=winfsp-master
|
||||
|
||||
src_compile()
|
||||
{
|
||||
lndirs
|
||||
cd ${B}/opt/cygfuse
|
||||
make
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
cd ${B}/inc/fuse
|
||||
includeinto fuse
|
||||
doinclude fuse.h
|
||||
doinclude fuse_common.h
|
||||
doinclude fuse_opt.h
|
||||
doinclude winfsp_fuse.h
|
||||
|
||||
cd ${B}/opt/cygfuse
|
||||
dobin cygfuse-${VERSION}.dll
|
||||
dolib libfuse-${VERSION}.a
|
||||
|
||||
insinto /usr/lib/pkgconfig
|
||||
doins fuse.pc
|
||||
}
|
||||
|
||||
RESTRICT=postinst-doc
|
Reference in New Issue
Block a user