void-packages/templates/klibc/template
Juan RP 0e22e7dac8 klibc: build with klcc shared by default, make the initramfs work.
--HG--
extra : convert_revision : 3f787beaca0e32cb3dd6ae1a1e8c41b940b8a316
2009-03-04 18:51:16 +01:00

27 lines
885 B
Text

# Template file for 'klibc'
pkgname=klibc
sourcepkg=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 <xtraeme@gmail.com>"
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."
subpackages="devel utils"
Add_dependency build kernel-headers
Add_dependency build bison
Add_dependency build perl
pre_configure()
{
cd $wrksrc && ln -s $XBPS_MASTERDIR/usr/src/linux linux
}