Magellan Linux

Annotation of /trunk/todo/boehm-gc/boehm-gc-7.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2199 - (hide annotations) (download)
Thu Jul 9 19:17:29 2009 UTC (14 years, 11 months ago) by niro
File size: 1305 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/boehm-gc/boehm-gc-7.0-r2.smage2,v 1.1 2008/04/03 18:43:37 niro Exp $
2    
3     PNAME="boehm-gc"
4     PVER="7.0"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="A garbage collector for C and C++."
11     HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
12    
13     DEPEND=">= virtual/glibc"
14     SDEPEND=">= sys-apps/sed-4"
15    
16     SRCFILE="${PNAME/boehm-/}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME/boehm-/}-${PVER}"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     # do not generate docs
32     sed -i -e '/^SUBDIRS/s/doc//' Makefile.in || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38    
39     mconfigure --enable-cplusplus --enable-threads=pthreads || die
40     mmake || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     # needed directories
48     minstalldir /usr/include/gc/private || die
49    
50     mmake DESTDIR=${BINDIR} install || die
51    
52     # missing headers
53     minstallfile include/cord.h /usr/include/gc || die
54     minstallfile include/ec.h /usr/include/gc || die
55     minstallfile include/javaxfc.h /usr/include/gc || die
56     minstallfile include/private/\*.h /usr/include/gc/private || die
57    
58     # html & docs
59     minstallhtml doc/*.html || die
60     minstalldocs README.QUICK doc/README* doc/barrett_diagram || die
61     }

Properties

Name Value
svn:keywords Id