Magellan Linux

Contents of /branches/R11-stable/core/reiserfsprogs/reiserfsprogs-3.6.22-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17790 - (show annotations) (download)
Wed Jun 26 12:32:02 2013 UTC (10 years, 11 months ago) by niro
File size: 939 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="reiserfsprogs"
4 PVER="3.6.22"
5 PBUILD="r1"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="User-level tools for ReiserFS filesystems."
10 HOMEPAGE="http://www.namesys.com/"
11
12 DEPEND=">= virtual/glibc
13 >= sys-libs/libuuid-2.22"
14
15 SRCFILE="${PNAME}-${PVER}.tar.xz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild mtools
19
20 SRC_URI=(
21 https://www.kernel.org/pub/linux/kernel/people/jeffm/${PNAME}/v${PVER}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-3.6.21-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}-3.6.21-fsck-n.patch || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40 mmake DESTDIR=${BINDIR} install || die
41 mlink reiserfsck /usr/sbin/fsck.reiserfs || die
42 mlink mkreiserfs /usr/sbin/mkfs.reiserfs || die
43 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die
44 }