Contents of /branches/magellan-next/core/reiserfsprogs/reiserfsprogs-3.6.21-r5.smage2
Parent Directory | Revision Log
Revision 7608 -
(show annotations)
(download)
Fri May 27 19:09:17 2011 UTC (13 years, 4 months ago) by niro
File size: 1045 byte(s)
Fri May 27 19:09:17 2011 UTC (13 years, 4 months ago) by niro
File size: 1045 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 | PCATEGORIE="sys-fs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="User-level tools for ReiserFS filesystems." |
11 | HOMEPAGE="http://www.namesys.com/" |
12 | |
13 | DEPEND="" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mtools |
19 | |
20 | SRC_URI=( |
21 | http://kernel.org/pub/linux/utils/fs/reiserfs/${SRCFILE} |
22 | #http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-${PVER}-fsck-n.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd http://kernel.org/pub/linux/utils/fs/reiserfs/ | lasttarball gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # support fsck -f -n |
35 | mpatch ${PNAME}-${PVER}-fsck-n.patch || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | mconfigure --sbindir=/sbin || die |
42 | mmake || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | mmake DESTDIR=${BINDIR} install || die |
49 | mlink reiserfsck /sbin/fsck.reiserfs || die |
50 | mlink mkreiserfs /sbin/mkfs.reiserfs || die |
51 | minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die |
52 | } |