Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4508 - (show annotations) (download)
Thu Dec 24 09:46:53 2009 UTC (14 years, 5 months ago) by niro
File size: 1543 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
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.in || die
43
44 # fix hardcorded CFLAGS and debugger options
45 sed -i -e '/CFLAGS/s:-ggdb3\>::' -e '/CFLAGS/s:-O0\>::' configure.ac || die
46 autoreconf --install --force --verbose || die
47 }
48
49 src_compile()
50 {
51 cd ${SRCDIR}
52
53 mconfigure \
54 --disable-debug \
55 --enable-crypto \
56 --enable-ntfsmount \
57 --disable-gnome-vfs \
58 || die
59
60 mmake || die
61 }
62
63 src_install()
64 {
65 cd ${SRCDIR}
66 mmake DESTDIR=${BINDIR} install || die
67
68 # move to proper locations
69 mv ${BINDIR}/usr/bin/ntfsck ${BINDIR}/sbin/ || die
70 mlink ntfsck /sbin/fsck.ntfs || die
71
72 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README TODO* \
73 doc/{attribute_definitions,tunable_settings,*.txt} || die
74 }

Properties

Name Value
svn:keywords Id