Annotation of /smage/trunk/core/e2fsprogs/e2fsprogs-1.41.9-r2.smage2
Parent Directory | Revision Log
Revision 63 -
(hide annotations)
(download)
Mon Jan 4 17:38:12 2010 UTC (14 years, 4 months ago) by niro
File size: 1997 byte(s)
Mon Jan 4 17:38:12 2010 UTC (14 years, 4 months ago) by niro
File size: 1997 byte(s)
-mcore-split
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 | niro | 63 | MCORE_ONLY_KEEP="$(mlibdir)/*.so |
19 | $(mlibdir)/*.so.* | ||
20 | sbin/blkid | ||
21 | sbin/e2fsck | ||
22 | sbin/mke2fs | ||
23 | sbin/mkfs.ext2 | ||
24 | sbin/mkfs.ext3 | ||
25 | sbin/tune2fs | ||
26 | sbin/fsck.ext2 | ||
27 | sbin/fsck.ext3 | ||
28 | usr/$(mlibdir)/*.so | ||
29 | usr/$(mlibdir)/*.so.* | ||
30 | usr/sbin/mklost+found" | ||
31 | niro | 61 | |
32 | niro | 63 | sminclude multilib mcore-split |
33 | |||
34 | niro | 61 | SRC_URI=( |
35 | sourceforge://${PNAME}/${SRCFILE} | ||
36 | mirror://${PNAME}/${SRCFILE} | ||
37 | ) | ||
38 | |||
39 | UP2DATE="updatecmd_sourceforge ${PNAME} | sed s/v//" | ||
40 | |||
41 | src_prepare() | ||
42 | { | ||
43 | munpack ${SRCFILE} || die | ||
44 | |||
45 | local abi | ||
46 | for abi in ${MULTILIB_ABIS} | ||
47 | do | ||
48 | install -d ${SRCDIR}-${abi}/build || die | ||
49 | if [[ ${abi} = m64 ]] | ||
50 | then | ||
51 | sed -i '/libdir=.*\/lib/s@/lib@/lib64@g' ${SRCDIR}-${abi}/configure || die | ||
52 | fi | ||
53 | done | ||
54 | } | ||
55 | |||
56 | src_compile() | ||
57 | { | ||
58 | # we are using blkid from util linux now (--disable-fsck --disable-libblkid) | ||
59 | # which merges the old blkid from e2fsprogs and udevs libvolume | ||
60 | # see: http://lists.freedesktop.org/archives/hal-commit/2009-May/004936.html | ||
61 | local abi | ||
62 | for abi in ${MULTILIB_ABIS} | ||
63 | do | ||
64 | cd ${SRCDIR}-${abi}/build | ||
65 | abi-${abi} ../configure \ | ||
66 | --host=${CHOST} \ | ||
67 | --prefix=/usr \ | ||
68 | --infodir=/usr/share/info \ | ||
69 | --mandir=/usr/share/man \ | ||
70 | --with-root-prefix="" \ | ||
71 | --enable-elf-shlibs \ | ||
72 | --disable-fsck \ | ||
73 | --disable-libblkid \ | ||
74 | --disable-libuuid \ | ||
75 | --disable-uuidd \ | ||
76 | || die | ||
77 | |||
78 | make || die | ||
79 | done | ||
80 | } | ||
81 | |||
82 | niro | 63 | mcore_generic_src_install() |
83 | niro | 61 | { |
84 | local abi | ||
85 | for abi in ${MULTILIB_ABIS} | ||
86 | do | ||
87 | cd ${SRCDIR}-${abi}/build | ||
88 | make DESTDIR=${BINDIR} install || die | ||
89 | make DESTDIR=${BINDIR} install-libs || die | ||
90 | done | ||
91 | |||
92 | # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d | ||
93 | if [[ -d ${BINDIR}/etc/init.d ]] | ||
94 | then | ||
95 | rm -r ${BINDIR}/etc/init.d || die | ||
96 | fi | ||
97 | |||
98 | cd ${SRCDIR} | ||
99 | minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die | ||
100 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |