Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10413 - (show annotations) (download)
Sat Jan 21 22:43:53 2012 UTC (12 years, 4 months ago) by niro
File size: 1021 byte(s)
auto added: ver bump to 3.6.21-r5
1 # $Id$
2
3 PNAME="reiserfsprogs"
4 PVER="3.6.21"
5 PBUILD="r5"
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_compile()
38 {
39 cd ${SRCDIR}
40 mconfigure --sbindir=/sbin || die
41 mmake || die
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47 mmake DESTDIR=${BINDIR} install || die
48 mlink reiserfsck /sbin/fsck.reiserfs || die
49 mlink mkreiserfs /sbin/mkfs.reiserfs || die
50 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die
51 }