Contents of /smage/trunk/core/e2fsprogs/e2fsprogs-1.41.9-r2.smage2
Parent Directory | Revision Log
Revision 65 -
(show annotations)
(download)
Mon Jan 4 17:53:13 2010 UTC (14 years, 4 months ago) by niro
File size: 2016 byte(s)
Mon Jan 4 17:53:13 2010 UTC (14 years, 4 months ago) by niro
File size: 2016 byte(s)
-disabled nls
1 | # $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 | 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 | |
32 | sminclude multilib mcore-split |
33 | |
34 | 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 | --disable-nls \ |
77 | || die |
78 | |
79 | make || die |
80 | done |
81 | } |
82 | |
83 | mcore_generic_src_install() |
84 | { |
85 | local abi |
86 | for abi in ${MULTILIB_ABIS} |
87 | do |
88 | cd ${SRCDIR}-${abi}/build |
89 | make DESTDIR=${BINDIR} install || die |
90 | make DESTDIR=${BINDIR} install-libs || die |
91 | done |
92 | |
93 | # breaks our basesystem; we are using a symlink to /etc/rc.d/init.d |
94 | if [[ -d ${BINDIR}/etc/init.d ]] |
95 | then |
96 | rm -r ${BINDIR}/etc/init.d || die |
97 | fi |
98 | |
99 | cd ${SRCDIR} |
100 | minstalldocs ABOUT-NLS ChangeLog COPYING README RELEASE-NOTES || die |
101 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |