Magellan Linux

Contents of /trunk/extras/ntfsprogs/ntfsprogs-2.0.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4513 - (show annotations) (download)
Thu Dec 24 10:10:51 2009 UTC (14 years, 4 months ago) by niro
File size: 1649 byte(s)
auto added: ver bump to 2.0.0-r1
1 # $Id$
2
3 PNAME="ntfsprogs"
4 PVER="2.0.0"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-fs"
8 STATE="unstable"
9
10 DESCRIPTION="A collection of utilities for managing NTFS volumes."
11 HOMEPAGE="http://www.linux-ntfs.org/"
12
13 DEPEND=">= dev-libs/libconfig-1.4
14 >= sys-fs/fuse-2.8
15 >= app-crypt/libgcrypt-1.4.4
16 >= app-crypt/gnutls-1.8.5"
17
18 SDEPEND=">= dev-util/pkgconfig-0.23"
19
20 SRCFILE="${PNAME}-${PVER}.tar.bz2"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude mtools
24
25 SRC_URI=(
26 sourceforge://linux-ntfs/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-${PVER}-gnutls-2.8.patch
29 )
30
31 UP2DATE="updatecmd_sourceforge linux-ntfs 'NTFS Tools and Library' - ${PNAME}"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # fix build with gnutls-2.8
39 mpatch ${PNAME}-${PVER}-gnutls-2.8.patch || die
40
41 # install all extra programs
42 sed -i 's:^EXTRA_PROGRAMS.*=:bin_PROGRAMS +=:' ntfsprogs/Makefile.am || die
43 sed -i 's:^EXTRA_PROGRAMS.*+= ntfsdecrypt:bin_PROGRAMS += ntfsdecrypt' ntfsprogs/Makefile.am || die
44
45 # fix hardcorded CFLAGS and debugger options
46 sed -i -e '/CFLAGS/s:-ggdb3\>::' -e '/CFLAGS/s:-O0\>::' configure.ac || die
47 autoreconf --install --force --verbose || die
48 }
49
50 src_compile()
51 {
52 cd ${SRCDIR}
53
54 mconfigure \
55 --disable-debug \
56 --enable-crypto \
57 --enable-ntfsmount \
58 --disable-gnome-vfs \
59 || die
60
61 mmake || die
62 }
63
64 src_install()
65 {
66 cd ${SRCDIR}
67 mmake DESTDIR=${BINDIR} install || die
68
69 # move to proper locations
70 mv ${BINDIR}/usr/bin/ntfsck ${BINDIR}/sbin/ || die
71 mlink ntfsck /sbin/fsck.ntfs || die
72
73 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README TODO* \
74 doc/{attribute_definitions,tunable_settings,*.txt} || die
75 }

Properties

Name Value
svn:keywords Id