summaryrefslogtreecommitdiffstats
path: root/uclibc/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-15 18:31:43 +0100
committerLukc <lukc@upyum.com>2011-01-15 18:31:43 +0100
commit25c4d335bb0bd1669f9e0183cb610a7cd4857c86 (patch)
tree94b64fd1884ce0c5098af1dfd0167fcb42b7329e /uclibc/Pkgfile
parent159f8471e78bc81a54a2c2a7210d5012526b44a0 (diff)
downloadbase-25c4d335bb0bd1669f9e0183cb610a7cd4857c86.tar.gz
base-25c4d335bb0bd1669f9e0183cb610a7cd4857c86.tar.bz2
base-25c4d335bb0bd1669f9e0183cb610a7cd4857c86.tar.xz
base-25c4d335bb0bd1669f9e0183cb610a7cd4857c86.zip
Recette de uClibc ajoutée. \o/
* Bientôt plus à jour, la rc1 suivante est sortie. o/ * Construire dans le bon prefix ? Pas sûr. * Complète ? Pas sûr non plus. /o\ * Bref, sinon c’est cool, toussa. \o/
Diffstat (limited to 'uclibc/Pkgfile')
-rw-r--r--uclibc/Pkgfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/uclibc/Pkgfile b/uclibc/Pkgfile
new file mode 100644
index 0000000..6eb6f00
--- /dev/null
+++ b/uclibc/Pkgfile
@@ -0,0 +1,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
+}
+