summaryrefslogtreecommitdiffstats
path: root/uclibc/Pkgfile
blob: 6eb6f004ecb3cda48a8dbc370f88967e0729adcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
description="Lightweight C library."
longdesc="uClibc (aka µClibc/pronounced yew-see-lib-see) is a C library for
developing embedded Linux systems.  It is much smaller than the
GNU C Library, but nearly all applications supported by glibc
also work perfectly with uClibc.  Porting applications from glibc
to uClibc typically involves just recompiling the source code.
uClibc even supports shared libraries and threading.  It currently
runs on standard Linux and MMU-less (also known as µClinux)
systems with support for alpha, ARM, cris, e1, h8300, i386, i960,
m68k, microblaze, mips/mipsel, PowerPC, SH, SPARC, and v850
processors."
packager="Lukc <lukc AT upyum DOT com>"
maintainer="Lukc <lukc AT upyum DOT com>"
url=http://www.uclibc.org

name=uclibc
version=0.9.31
release=1
source=( 
	http://www.uclibc.org/downloads/${name/c/C}-$version.tar.xz
)
lastver="wcat http://www.uclibc.org/downloads/ | 
grep uClibc | sed -e 's/.*>uClibc-//;s/.tar.xz<.*//' | 
grep -v '<' | sort -k3 | tail -n 1"
license=LGPL

function build {
	cd ${name/c/C}-$version
	gmake CROSS= defconfig
	gmake CROSS= DESTDIR=$PKG install
}

function check {
	cd ${name/c/C}-$version
	make check
}