Magellan Linux

Contents of /trunk/core/reiserfsprogs/reiserfsprogs-3.6.21-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12690 - (show annotations) (download)
Thu Jun 28 09:48:36 2012 UTC (11 years, 11 months ago) by niro
File size: 945 byte(s)
auto added: ver bump to 3.6.21-r6
1 # $Id$
2
3 PNAME="reiserfsprogs"
4 PVER="3.6.21"
5 PBUILD="r6"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="User-level tools for ReiserFS filesystems."
10 HOMEPAGE="http://www.namesys.com/"
11
12 DEPEND=""
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mtools
18
19 SRC_URI=(
20 http://kernel.org/pub/linux/utils/fs/reiserfs/${SRCFILE}
21 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-fsck-n.patch
24 )
25
26 UP2DATE="updatecmd http://kernel.org/pub/linux/utils/fs/reiserfs/ | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # support fsck -f -n
34 mpatch ${PNAME}-${PVER}-fsck-n.patch || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40 mmake DESTDIR=${BINDIR} install || die
41 mlink reiserfsck /usr/bin/fsck.reiserfs || die
42 mlink mkreiserfs /usr/bin/mkfs.reiserfs || die
43 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die
44 }