Contents of /smage/trunk/extras/dietlibc/dietlibc-0.31-r1.smage2
Parent Directory
|
Revision Log
Revision 3 -
(show annotations)
(download)
Sun Jan 11 00:48:53 2009 UTC (15 years, 5 months ago) by niro
File size: 1146 byte(s)
Sun Jan 11 00:48:53 2009 UTC (15 years, 5 months ago) by niro
File size: 1146 byte(s)
-import alx-0.9.0
1 | # $Header: /alx-cvs/smage-eglibc/dietlibc/dietlibc-0.31-r1.smage2,v 1.5 2008/08/24 13:17:39 niro Exp $ |
2 | |
3 | PNAME="dietlibc" |
4 | PVER="0.31" |
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 | src_prepare() |
26 | { |
27 | munpack ${SRCFILE} || die |
28 | cd ${SRCDIR} |
29 | |
30 | # fix protopypes var types both to off_t |
31 | mpatch 0.24-dirent-prototype.patch || die |
32 | |
33 | # fix up install pathes and CFLAGS |
34 | mpatch dietlibc-0.28-Makefile.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | |
41 | mmake MYARCH="${ARCH/i*86/i386}" || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | |
48 | mmake MYARCH="${ARCH/i*86/i386}" \ |
49 | DESTDIR=${BINDIR} BINDIR=/usr/bin \ |
50 | MAN1DIR=/usr/share/man/man1 install || die |
51 | |
52 | # docs |
53 | minstalldocs AUTHOR BUGS CAVEAT CHANGES COPYING FAQ \ |
54 | PORTING README* SECURITY THANKS TODO || die |
55 | } |
56 | |
57 | sminclude alx |
Properties
Name | Value |
---|---|
svn:keywords | Id |