Annotation of /trunk/core/elfutils/elfutils-0.137-r2.smage2
Parent Directory
|
Revision Log
Revision 3418 -
(hide annotations)
(download)
Wed Oct 21 18:40:09 2009 UTC (14 years, 7 months ago) by niro
File size: 1556 byte(s)
Wed Oct 21 18:40:09 2009 UTC (14 years, 7 months ago) by niro
File size: 1556 byte(s)
auto added: ver bump to 0.137-r2
1 | niro | 3418 | # $Id$ |
2 | |||
3 | PNAME="elfutils" | ||
4 | PVER="0.137" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Utils and libs to handle elf objects." | ||
11 | HOMEPAGE="https://fedorahosted.org/elfutils/" | ||
12 | |||
13 | DEPEND=">= sys-dev/binutils-2.20 | ||
14 | >= sys-dev/gcc-4.3" | ||
15 | |||
16 | SDEPEND=">= sys-apps/sed-4 | ||
17 | >= sys-dev/gettext-0.17" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-portability.patch | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-robustify.patch | ||
29 | mirror://${PNAME}/${PNAME}-${PVER}-fixes.patch | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/ | lasttarball gz" | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # redhat patches: | ||
40 | mpatch ${PNAME}-${PVER}-portability.patch || die | ||
41 | mpatch ${PNAME}-${PVER}-robustify.patch || die | ||
42 | # -alignment fixes, segment table botch fix | ||
43 | # -fix libdwfl regression | ||
44 | mpatch ${PNAME}-${PVER}-fixes.patch || die | ||
45 | |||
46 | # fixes prelink compile issues: | ||
47 | # configure: error: libelf does not properly convert Elf64_Sxword quantities. | ||
48 | sed -i 's:\<off64_t\>:__off64_t:g' libelf/libelf.h || die | ||
49 | |||
50 | autoreconf --verbose --install --force || die | ||
51 | |||
52 | # fix some noisiness (taken from gentoo ebuild) | ||
53 | find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g' | ||
54 | } | ||
55 | |||
56 | src_compile() | ||
57 | { | ||
58 | cd ${SRCDIR} | ||
59 | |||
60 | mconfigure \ | ||
61 | --program-prefix="eu-" \ | ||
62 | --enable-shared \ | ||
63 | --enable-nls \ | ||
64 | || die | ||
65 | |||
66 | mmake || die | ||
67 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |