mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -05:00
opt: cygfuse: can build cygport from working tree (make cygport)
This commit is contained in:
parent
ed0b83c84d
commit
8dc4225ea1
@ -8,3 +8,13 @@ cygfuse-$(Version).dll libfuse-$(Version).dll.a fuse.pc: cygfuse.cpp fuse.pc.in
|
|||||||
|
|
||||||
cygfuse-test.exe: cygfuse-test.c cygfuse-$(Version).dll libfuse-$(Version).dll.a
|
cygfuse-test.exe: cygfuse-test.c cygfuse-$(Version).dll libfuse-$(Version).dll.a
|
||||||
gcc $(Debug) -o cygfuse-test.exe -I../../inc/fuse -DCYGFUSE cygfuse-test.c -L$(PWD) -lfuse-$(Version)
|
gcc $(Debug) -o cygfuse-test.exe -I../../inc/fuse -DCYGFUSE cygfuse-test.c -L$(PWD) -lfuse-$(Version)
|
||||||
|
|
||||||
|
cygport:
|
||||||
|
git clean -dfx
|
||||||
|
(\
|
||||||
|
cd `git rev-parse --show-toplevel` &&\
|
||||||
|
Stash=`git stash create` &&\
|
||||||
|
git archive --prefix=winfsp-work/ --format=tar.gz $${Stash:-HEAD}\
|
||||||
|
> opt/cygfuse/winfsp-work.tar.gz\
|
||||||
|
)
|
||||||
|
CYGPORT_SRC_URI=winfsp-work.tar.gz CYGPORT_SRC_DIR=winfsp-work cygport fuse.cygport download prep compile install package
|
||||||
|
@ -6,8 +6,8 @@ SUMMARY="WinFsp-FUSE compatibility layer"
|
|||||||
DESCRIPTION="WinFsp-FUSE enables FUSE file systems to be run on Cygwin."
|
DESCRIPTION="WinFsp-FUSE enables FUSE file systems to be run on Cygwin."
|
||||||
HOMEPAGE="http://www.secfs.net/winfsp/"
|
HOMEPAGE="http://www.secfs.net/winfsp/"
|
||||||
|
|
||||||
SRC_URI="https://github.com/billziss-gh/winfsp/archive/master.tar.gz"
|
SRC_URI=${CYGPORT_SRC_URI:-"https://github.com/billziss-gh/winfsp/archive/master.tar.gz"}
|
||||||
SRC_DIR=winfsp-master
|
SRC_DIR=${CYGPORT_SRC_DIR:-winfsp-master}
|
||||||
|
|
||||||
src_compile()
|
src_compile()
|
||||||
{
|
{
|
||||||
@ -33,4 +33,4 @@ src_install()
|
|||||||
doins fuse.pc
|
doins fuse.pc
|
||||||
}
|
}
|
||||||
|
|
||||||
RESTRICT=postinst-doc
|
RESTRICT="strip postinst-doc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user