Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support." |
| 2 | HOMEPAGE = "http://www.ntfs-3g.org/" |
| 3 | DEPENDS = "fuse libgcrypt" |
| 4 | PROVIDES = "ntfsprogs ntfs-3g" |
| 5 | LICENSE = "GPLv2 & LGPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
| 7 | file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a" |
| 8 | |
| 9 | SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz" |
| 10 | S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}" |
| 11 | |
| 12 | SRC_URI[md5sum] = "2d6fb47ddf62b51733227126fe9227fe" |
| 13 | SRC_URI[sha256sum] = "4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27" |
| 14 | |
| 15 | inherit autotools pkgconfig |
| 16 | |
| 17 | PACKAGECONFIG ??= "" |
| 18 | PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux" |
| 19 | |
| 20 | # required or it calls ldconfig at install step |
| 21 | EXTRA_OEMAKE = "LDCONFIG=echo" |
| 22 | |
| 23 | PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g" |
| 24 | |
| 25 | FILES_ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g* ${base_sbindir}/mount.ntfs" |
| 26 | RDEPENDS_ntfs-3g += "fuse" |
| 27 | RRECOMMENDS_ntfs-3g = "util-linux-mount" |
| 28 | |
| 29 | FILES_ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*" |
| 30 | FILES_libntfs-3g = "${libdir}/*${SOLIBS}" |
| 31 | |
| 32 | do_install_append() { |
| 33 | # Standard mount will execute the program /sbin/mount.TYPE |
| 34 | # when called. Add the symbolic to let mount could find ntfs. |
| 35 | ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs |
| 36 | } |
| 37 | |
| 38 | # Satisfy the -dev runtime dependency |
| 39 | ALLOW_EMPTY_${PN} = "1" |