Magellan Linux

Annotation of /smage/trunk/core/e2fsprogs/e2fsprogs-1.41.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations) (download)
Mon Jan 4 17:30:05 2010 UTC (14 years, 4 months ago) by niro
File size: 1734 byte(s)
auto added: ver bump to 1.41.9-r2
1 niro 61 # $Id$
2    
3     PNAME="e2fsprogs"
4     PVER="1.41.9"
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     --disable-libuuid \
61     --disable-uuidd \
62     || die
63    
64     make || die
65     done
66     }
67    
68     src_install()
69     {
70     local abi
71     for abi in ${MULTILIB_ABIS}
72     do
73     cd ${SRCDIR}-${abi}/build
74     make DESTDIR=${BINDIR} install || die
75     make DESTDIR=${BINDIR} install-libs || die
76     done
77    
78     # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d
79     if [[ -d ${BINDIR}/etc/init.d ]]
80     then
81     rm -r ${BINDIR}/etc/init.d || die
82     fi
83    
84     cd ${SRCDIR}
85     minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die
86     }

Properties

Name Value
svn:keywords Id