mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 15:36:58 +02:00
fuse-exfat: import from upstream
BUG=chromium-os:37727 TEST=`emerge-x86-alex fuse-exfat` worked TEST=`emerge-stumpy fuse-exfat` worked TEST=`emerge-daisy fuse-exfat` worked Change-Id: I3e232c5f348fd0668bbb1735f70206219af49cc0 Reviewed-on: https://gerrit.chromium.org/gerrit/40623 Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
98f58e632e
commit
27e4984c0f
1
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST fuse-exfat-0.9.8.tar.gz 38286 SHA256 ecae22203461e508d53389617c17d22f68c1b565c700d7663ce67bc4a710e903 SHA512 70b74b896131d41bf7693c7495a99cf943dbaccb61499beb38a474ff09f06213b3ca2ae32907c94795e6f05c3c681ec5db10414283603f666145787e030b1694 WHIRLPOOL 3d45f70833326baa12e245d3304084c239a5feead52a6956b2634c8f1508ceed9a606962e0602b01870fb2106a0544ee0c59803ac2d64018270009fcdc56e4fd
|
1
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/files/99-exfat.rules
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/files/99-exfat.rules
vendored
Normal file
@ -0,0 +1 @@
|
||||
ENV{ID_FS_TYPE}=="exfat", ENV{ID_FS_TYPE}="exfat-fuse"
|
@ -0,0 +1,27 @@
|
||||
make sure we pass down important env vars
|
||||
|
||||
https://groups.google.com/d/topic/exfat/BfRq9XU2kQM/discussion
|
||||
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -29,6 +29,10 @@ destdir = env.get('DESTDIR', '/sbin');
|
||||
targets = []
|
||||
libs = ['exfat']
|
||||
|
||||
+if 'AR' in os.environ:
|
||||
+ conf.env.Replace(AR = os.environ['AR'])
|
||||
+if 'RANLIB' in os.environ:
|
||||
+ conf.env.Replace(RANLIB = os.environ['RANLIB'])
|
||||
if 'CC' in os.environ:
|
||||
conf.env.Replace(CC = os.environ['CC'])
|
||||
if 'CCFLAGS' in os.environ:
|
||||
@@ -74,6 +74,9 @@ if platform.system() == 'FreeBSD':
|
||||
conf.env.Append(LIBPATH = ['/usr/local/lib'])
|
||||
|
||||
env = conf.Finish()
|
||||
+for var in ('SYSROOT',):
|
||||
+ if var in os.environ:
|
||||
+ env['ENV'][var] = os.environ[var]
|
||||
|
||||
def make_symlink(dir, target, link_name):
|
||||
workdir = os.getcwd()
|
37
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/fuse-exfat-0.9.8-r1.ebuild
vendored
Normal file
37
sdk_container/src/third_party/portage-stable/sys-fs/fuse-exfat/fuse-exfat-0.9.8-r1.ebuild
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse-exfat/fuse-exfat-0.9.8-r1.ebuild,v 1.4 2013/01/09 19:23:14 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit scons-utils udev toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="exFAT filesystem FUSE module"
|
||||
HOMEPAGE="http://code.google.com/p/exfat/"
|
||||
SRC_URI="http://exfat.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="arm amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-fs/fuse"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9.8-build-vars.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC RANLIB
|
||||
escons CCFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin fuse/mount.exfat-fuse
|
||||
dosym mount.exfat-fuse /usr/sbin/mount.exfat
|
||||
|
||||
doman */*.8
|
||||
dodoc ChangeLog
|
||||
|
||||
udev_dorules "${FILESDIR}"/99-exfat.rules
|
||||
}
|
Loading…
Reference in New Issue
Block a user