Magellan Linux

Contents of /smage/trunk/core/e2fsprogs/e2fsprogs-1.40.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 3 months ago) by niro
File size: 1370 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="e2fsprogs"
4 PVER="1.40.5"
5 PBUILD="r2"
6
7 PCATEGORIE="sys-fs"
8 STATE="unstable"
9
10 DESCRIPTION="Standard EXT2 and EXT3 filesystem utilities."
11 HOMEPAGE="http://e2fsprogs.sourceforge.net/"
12
13 DEPEND=">= sys-apps/texinfo-4"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude multilib alx
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 src_prepare()
26 {
27 munpack ${SRCFILE} || die
28
29 local abi
30 for abi in ${MULTILIB_ABIS}
31 do
32 install -d ${SRCDIR}-${abi}/build || die
33 if [[ ${abi} = m64 ]]
34 then
35 sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' ${SRCDIR}-${abi}/configure || die
36 fi
37 done
38 }
39
40 src_compile()
41 {
42 local abi
43 for abi in ${MULTILIB_ABIS}
44 do
45 cd ${SRCDIR}-${abi}/build
46 abi-${abi} ../configure \
47 --host=${CHOST} \
48 --prefix=/usr \
49 --infodir=/usr/share/info \
50 --mandir=/usr/share/man \
51 --with-root-prefix="" \
52 --enable-elf-shlibs || die
53
54 make || die
55 done
56 }
57
58 src_install()
59 {
60 local abi
61 for abi in ${MULTILIB_ABIS}
62 do
63 cd ${SRCDIR}-${abi}/build
64 make DESTDIR=${BINDIR} install || die
65 make DESTDIR=${BINDIR} install-libs || die
66 done
67
68 # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d
69 if [[ -d ${BINDIR}/etc/init.d ]]
70 then
71 rm -r ${BINDIR}/etc/init.d || die
72 fi
73
74 cd ${SRCDIR}
75 minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die
76 }

Properties

Name Value
svn:keywords Id