Magellan Linux

Annotation of /trunk/core/e2fsprogs/e2fsprogs-1.41.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1765 - (hide annotations) (download)
Mon May 25 21:23:46 2009 UTC (14 years, 11 months ago) by niro
File size: 1690 byte(s)
-disable build of blkid, using the util-linux-ng version
1 niro 1765 # $Id$
2    
3     PNAME="e2fsprogs"
4     PVER="1.41.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
19    
20     SRC_URI=(
21     sourceforge://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd_sourceforge ${PNAME} | sed s/v//"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30    
31     local abi
32     for abi in ${MULTILIB_ABIS}
33     do
34     install -d ${SRCDIR}-${abi}/build || die
35     if [[ ${abi} = m64 ]]
36     then
37     sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' ${SRCDIR}-${abi}/configure || die
38     fi
39     done
40     }
41    
42     src_compile()
43     {
44     # we are using blkid from util linux now (--disable-fsck --disable-libblkid)
45     # which merges the old blkid from e2fsprogs and udevs libvolume
46     # see: http://lists.freedesktop.org/archives/hal-commit/2009-May/004936.html
47     local abi
48     for abi in ${MULTILIB_ABIS}
49     do
50     cd ${SRCDIR}-${abi}/build
51     abi-${abi} ../configure \
52     --host=${CHOST} \
53     --prefix=/usr \
54     --infodir=/usr/share/info \
55     --mandir=/usr/share/man \
56     --with-root-prefix="" \
57     --enable-elf-shlibs \
58     --disable-fsck \
59     --disable-libblkid \
60     || die
61    
62     make || die
63     done
64     }
65    
66     src_install()
67     {
68     local abi
69     for abi in ${MULTILIB_ABIS}
70     do
71     cd ${SRCDIR}-${abi}/build
72     make DESTDIR=${BINDIR} install || die
73     make DESTDIR=${BINDIR} install-libs || die
74     done
75    
76     # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d
77     if [[ -d ${BINDIR}/etc/init.d ]]
78     then
79     rm -r ${BINDIR}/etc/init.d || die
80     fi
81    
82     cd ${SRCDIR}
83     minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die
84     }

Properties

Name Value
svn:keywords Id