Annotation of /branches/magellan-next/core/reiserfsprogs/reiserfsprogs-3.6.21-r4.smage2
Parent Directory
|
Revision Log
Revision 6110 -
(hide annotations)
(download)
Thu Aug 19 14:25:05 2010 UTC (13 years, 10 months ago) by niro
File size: 1109 byte(s)
Thu Aug 19 14:25:05 2010 UTC (13 years, 10 months ago) by niro
File size: 1109 byte(s)
auto added: ver bump to 3.6.21-r4
1 | niro | 6110 | # $Id: reiserfsprogs-3.6.21-r3.smage2 5339 2010-04-25 23:29:14Z niro $ |
2 | |||
3 | PNAME="reiserfsprogs" | ||
4 | PVER="3.6.21" | ||
5 | PBUILD="r4" | ||
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 | } |