Annotation of /trunk/core/ntfs-3g/ntfs-3g-2017.3.23-r2.smage2
Parent Directory | Revision Log
Revision 30170 -
(hide annotations)
(download)
Thu Nov 2 12:05:48 2017 UTC (6 years, 10 months ago) by niro
File size: 1722 byte(s)
Thu Nov 2 12:05:48 2017 UTC (6 years, 10 months ago) by niro
File size: 1722 byte(s)
auto added: ver bump to 2017.3.23-r2
1 | niro | 30170 | # $Id$ |
2 | |||
3 | PNAME="ntfs-3g" | ||
4 | PVER="2017.3.23" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | SPLIT_PACKAGES="ntfs-3g ntfsprogs" | ||
8 | |||
9 | PCAT="sys-fs" | ||
10 | HOMEPAGE="http://www.tuxera.com/" | ||
11 | |||
12 | NTFS3G_DEPEND=">= virtual/glibc" | ||
13 | NTFSPROGS_DEPEND=">= sys-libs/libuuid-2.28 | ||
14 | >= app-crypt/libgcrypt-1.8 | ||
15 | >= app-crypt/gnutls-3.6" | ||
16 | SDEPEND="${NTFS3G_DEPEND} | ||
17 | ${NTFSPROGS_DEPEND} | ||
18 | >= sys-apps/attr-2.4" | ||
19 | |||
20 | SRCFILE="${PNAME/-fuse/}_ntfsprogs-${PVER}.tgz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME/-fuse/}_ntfsprogs-${PVER}" | ||
22 | |||
23 | sminclude mbuild mtools | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://tuxera.com/opensource/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd ${HOMEPAGE}community/open-source-ntfs-3g/ | highesttarball tgz" | ||
31 | |||
32 | split_info_ntfs-3g() | ||
33 | { | ||
34 | DESCRIPTION="NTFS-3G Read/Write Driver." | ||
35 | DEPEND="${NTFS3G_DEPEND}" | ||
36 | } | ||
37 | |||
38 | split_info_ntfsprogs() | ||
39 | { | ||
40 | DESCRIPTION="A collection of utilities for managing NTFS volumes." | ||
41 | DEPEND="== sys-fs/ntfs-3g-${PVER} | ||
42 | ${NTFSPROGS_DEPEND}" | ||
43 | } | ||
44 | |||
45 | src_prepare() | ||
46 | { | ||
47 | munpack ${SRCFILE} || die | ||
48 | cd ${SRCDIR} | ||
49 | |||
50 | # fix hardcoded symlinks | ||
51 | sed -i 's:$(DESTDIR)/sbin:$(DESTDIR)$(rootsbindir):g' src/Makefile.{am,in} ntfsprogs/Makefile.{am,in} || die | ||
52 | } | ||
53 | |||
54 | src_compile() | ||
55 | { | ||
56 | cd ${SRCDIR} | ||
57 | |||
58 | # use the internal stripped down fuse library | ||
59 | mconfigure \ | ||
60 | --exec-prefix=/usr \ | ||
61 | --with-fuse=internal \ | ||
62 | --enable-crypto \ | ||
63 | --enable-extras \ | ||
64 | || die | ||
65 | |||
66 | mmake || die | ||
67 | } | ||
68 | |||
69 | src_install_ntfs-3g() | ||
70 | { | ||
71 | cd ${SRCDIR} | ||
72 | mmake -C src DESTDIR=${BINDIR} install || die | ||
73 | mmake -C libntfs-3g DESTDIR=${BINDIR} install || die | ||
74 | mmake -C include DESTDIR=${BINDIR} install || die | ||
75 | # missing symlink | ||
76 | mlink ../bin/ntfs-3g /usr/sbin/mount.ntfs || die | ||
77 | |||
78 | minstalldocs AUTHORS COPYING* CREDITS ChangeLog NEWS README TODO* || die | ||
79 | } | ||
80 | |||
81 | src_install_ntfsprogs() | ||
82 | { | ||
83 | cd ${SRCDIR} | ||
84 | mmake -C ntfsprogs DESTDIR=${BINDIR} install || die | ||
85 | } |