Magellan Linux

Contents of /trunk/core/elfutils/elfutils-0.137-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 848 - (show annotations) (download)
Fri Dec 26 11:38:47 2008 UTC (15 years, 5 months ago) by niro
File size: 1651 byte(s)
-ver bump to 0.137-r1
1 # $Header: /magellan-cvs/smage/elfutils/elfutils-0.131-r2.smage2,v 1.1 2008/04/20 23:59:08 niro Exp $
2
3 PNAME="elfutils"
4 PVER="0.137"
5 PBUILD="r1"
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.19
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