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