Magellan Linux

Contents of /trunk/core/reiserfsprogs/reiserfsprogs-3.6.27-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33525 - (show annotations) (download)
Mon Jul 31 11:11:43 2023 UTC (9 months, 1 week ago) by niro
File size: 1080 byte(s)
-toolchain rebuild
1 # $Id$
2
3 PNAME="reiserfsprogs"
4 PVER="3.6.27"
5 PBUILD="r2"
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.39"
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}-${PVER}-loff_t.patch
24 )
25
26 UP2DATE="updatecmd https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ | grep '/v[0-9]' | sed 's:.*v\(.*\)/.*:\1:' | upsort_pipe"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # ftbfs
34 mpatch ${PNAME}-${PVER}-loff_t.patch || die
35
36 # add missing install.sh
37 WANT_AUTOCONF=2.7 \
38 WANT_AUTOMAKE=1.16 \
39 mautoreconf || die
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45 mmake DESTDIR=${BINDIR} install || die
46 mlink reiserfsck /usr/sbin/fsck.reiserfs || die
47 mlink mkreiserfs /usr/sbin/mkfs.reiserfs || die
48 minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die
49 }