2008-10-28 03:25:18 +01:00
|
|
|
# Template file for 'klibc'
|
|
|
|
pkgname=klibc
|
2009-03-08 00:40:42 +01:00
|
|
|
version=1.5.15
|
2009-04-19 00:31:39 +02:00
|
|
|
distfiles="${KERNEL_SITE}/libs/klibc/Testing/klibc-$version.tar.bz2"
|
2008-10-28 03:25:18 +01:00
|
|
|
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>"
|
2009-03-08 00:40:42 +01:00
|
|
|
checksum=8b5334ef88b075f374b031695181b4302c3e5621bf2737a39fdf28262b0f80f4
|
2008-10-28 03:25:18 +01:00
|
|
|
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."
|
|
|
|
|
2009-02-25 06:15:20 +01:00
|
|
|
subpackages="devel utils"
|
|
|
|
|
|
|
|
Add_dependency build kernel-headers
|
|
|
|
Add_dependency build bison
|
2009-03-04 18:51:16 +01:00
|
|
|
Add_dependency build perl
|
2008-10-29 21:17:32 +01:00
|
|
|
|
2008-10-28 03:25:18 +01:00
|
|
|
pre_configure()
|
|
|
|
{
|
2009-10-16 03:02:57 +02:00
|
|
|
local kver="$(xbps-pkgdb -r / version kernel-headers)"
|
|
|
|
|
|
|
|
cd $wrksrc || return 1
|
|
|
|
ln -s /usr/src/kernel-headers-$kver linux
|
2008-10-28 03:25:18 +01:00
|
|
|
}
|