1e2a4064f4
svn path=/nixpkgs/trunk/; revision=11204
26 lines
768 B
Nix
26 lines
768 B
Nix
args: with args;
|
|
stdenv.mkDerivation rec {
|
|
pname = "ntfs-3g";
|
|
version = "1.2310";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/${name}.tgz";
|
|
sha256 = "3394bd1c9d0f3640803dc65ebbb42ee945db47e06f1a2b84ad257bad5e3c10f3";
|
|
};
|
|
|
|
buildInputs = [fuse pkgconfig utillinux];
|
|
|
|
preConfigure="
|
|
sed -e 's:/sbin:@sbindir@:' -i src/Makefile.in
|
|
sed -e 's:/bin/mount:${utillinux}/bin/mount:' -i libfuse-lite/mount_util.c
|
|
sed -e 's:/bin/umount:${utillinux}/bin/umount:' -i libfuse-lite/mount_util.c
|
|
";
|
|
|
|
configureFlags="--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix}";
|
|
|
|
meta = {
|
|
homepage = http://www.ntfs-3g.org;
|
|
description = "FUSE-base ntfs driver with full write support";
|
|
};
|
|
}
|