From de7d1b10e76274560c5f71c798b8cb17a18b3b09 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Oct 2008 03:25:18 +0100 Subject: [PATCH] Added klibc-1.5.14 template. --HG-- extra : convert_revision : 580665d1b6fbd552c48fd8167c61762cfa8a0541 --- templates/klibc.tmpl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/klibc.tmpl diff --git a/templates/klibc.tmpl b/templates/klibc.tmpl new file mode 100644 index 0000000000..9c218f5e93 --- /dev/null +++ b/templates/klibc.tmpl @@ -0,0 +1,20 @@ +# Template file for 'klibc' +pkgname=klibc +version=1.5.14 +distfiles=" +http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-$version@.tar.bz2" +build_style=gnu_makefile +make_install_target="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version install" +short_desc="Minimal libc subset for use with initramfs" +maintainer="Juan RP " +checksum=cc6901c5859506194720ca2be01ca9bd21c47e305576da8eb662dbaadec5b9b2 +long_desc=" + klibc is intended to be a minimalistic libc subset for use with initramfs. + It is deliberately written for small size, minimal entanglement, and + portability, not speed. It is definitely a work in progress and a lot of + things are still missing." + +pre_configure() +{ + cd $wrksrc && ln -s $XBPS_MASTERDIR/usr/src/linux linux +}