Magellan Linux

Annotation of /trunk/core/dietlibc/dietlibc-0.32-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3176 - (hide annotations) (download)
Wed Oct 14 10:13:37 2009 UTC (14 years, 8 months ago) by niro
File size: 1135 byte(s)
auto added: ver bump to 0.32-r1
1 niro 3176 # $Id$
2    
3     PNAME="dietlibc"
4     PVER="0.32"
5     PBUILD="r1"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="diet libc - a libc optimized for small size."
11     HOMEPAGE="http://www.fefe.de/dietlibc/"
12    
13     DEPEND=""
14    
15     SRCFILE="${PNAME}-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     SRC_URI=(
19     http://www.kernel.org/pub/linux/libs/${PNAME}/${SRCFILE}
20     mirror://${PNAME}/${SRCFILE}
21     mirror://${PNAME}/0.24-dirent-prototype.patch
22     mirror://${PNAME}/dietlibc-0.28-Makefile.patch
23     )
24    
25     UP2DATE="updatecmd http://www.kernel.org/pub/linux/libs/${PNAME} | lasttarball"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # fix protopypes var types both to off_t
33     mpatch 0.24-dirent-prototype.patch || die
34    
35     # fix up install pathes and CFLAGS
36     mpatch dietlibc-0.28-Makefile.patch || die
37     }
38    
39     src_compile()
40     {
41     cd ${SRCDIR}
42    
43     mmake MYARCH="${ARCH/i*86/i386}" CFLAGS="${CFLAGS}" || die
44     }
45    
46     src_install()
47     {
48     cd ${SRCDIR}
49    
50     mmake MYARCH="${ARCH/i*86/i386}" \
51     DESTDIR=${BINDIR} BINDIR=/usr/bin \
52     MAN1DIR=/usr/share/man/man1 install || die
53    
54     # docs
55     minstalldocs AUTHOR BUGS CAVEAT CHANGES COPYING FAQ \
56     PORTING README* SECURITY THANKS TODO || die
57     }

Properties

Name Value
svn:keywords Id