Magellan Linux

Annotation of /trunk/core/e2fsprogs/e2fsprogs-1.41.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations) (download)
Mon Oct 13 21:31:19 2008 UTC (15 years, 7 months ago) by niro
File size: 1518 byte(s)
-ver bump to 1.41.3-r1
1 niro 62 # $Header: /magellan-cvs/smage/e2fsprogs/e2fsprogs-1.40.5-r2.smage2,v 1.1 2008/02/16 12:56:20 niro Exp $
2    
3     PNAME="e2fsprogs"
4     PVER="1.41.3"
5     PBUILD="r1"
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     local abi
45     for abi in ${MULTILIB_ABIS}
46     do
47     cd ${SRCDIR}-${abi}/build
48     abi-${abi} ../configure \
49     --host=${CHOST} \
50     --prefix=/usr \
51     --infodir=/usr/share/info \
52     --mandir=/usr/share/man \
53     --with-root-prefix="" \
54     --enable-elf-shlibs || die
55    
56     make || die
57     done
58     }
59    
60     src_install()
61     {
62     local abi
63     for abi in ${MULTILIB_ABIS}
64     do
65     cd ${SRCDIR}-${abi}/build
66     make DESTDIR=${BINDIR} install || die
67     make DESTDIR=${BINDIR} install-libs || die
68     done
69    
70     # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d
71     if [[ -d ${BINDIR}/etc/init.d ]]
72     then
73     rm -r ${BINDIR}/etc/init.d || die
74     fi
75    
76     cd ${SRCDIR}
77     minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die
78     }

Properties

Name Value
svn:keywords Id