Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -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 | file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 11 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-Make-build-support-usrmerge.patch','',d)} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 12 | " |
| 13 | S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}" |
| 14 | SRC_URI[md5sum] = "d97474ae1954f772c6d2fa386a6f462c" |
| 15 | SRC_URI[sha256sum] = "3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5" |
| 16 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/" |
| 18 | UPSTREAM_CHECK_REGEX = "ntfs-3g_ntfsprogs-(?P<pver>\d+(\.\d+)+)\.tgz" |
| 19 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 20 | inherit autotools pkgconfig |
| 21 | |
| 22 | PACKAGECONFIG ??= "" |
| 23 | PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux" |
| 24 | |
| 25 | # required or it calls ldconfig at install step |
| 26 | EXTRA_OEMAKE = "LDCONFIG=echo" |
| 27 | |
| 28 | PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g" |
| 29 | |
| 30 | FILES_ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g* ${base_sbindir}/mount.ntfs" |
| 31 | RDEPENDS_ntfs-3g += "fuse" |
| 32 | RRECOMMENDS_ntfs-3g = "util-linux-mount" |
| 33 | |
| 34 | FILES_ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*" |
| 35 | FILES_libntfs-3g = "${libdir}/*${SOLIBS}" |
| 36 | |
| 37 | do_install_append() { |
| 38 | # Standard mount will execute the program /sbin/mount.TYPE |
| 39 | # when called. Add the symbolic to let mount could find ntfs. |
| 40 | ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs |
| 41 | rmdir ${D}${libdir}/ntfs-3g |
| 42 | } |
| 43 | |
| 44 | # Satisfy the -dev runtime dependency |
| 45 | ALLOW_EMPTY_${PN} = "1" |