From 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Mon, 14 Apr 2014 12:22:53 +0000 Subject: Add chunk morphologies to definitions repository --- chunks/eglibc.morph | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 chunks/eglibc.morph (limited to 'chunks/eglibc.morph') diff --git a/chunks/eglibc.morph b/chunks/eglibc.morph new file mode 100644 index 00000000..5114ffb2 --- /dev/null +++ b/chunks/eglibc.morph @@ -0,0 +1,23 @@ +name: eglibc +kind: chunk +repo: upstream:eglibc2 +ref: e57ce33023d37183847a0c2f692645887691576a +configure-commands: +- mkdir o +- cd libc && ln -s ../ports ports +- | + export CFLAGS="-O2 $CFLAGS"; cd o && + ../libc/configure \ + $(../morph-arch-config) \ + --prefix="$PREFIX" \ + --disable-profile \ + --enable-kernel=2.6.25 \ + --enable-add-ons=nptl,ports \ + --without-cvs \ + --without-selinux +build-commands: +- cd o && make localtime=UTC +install-commands: +- cd o && make install_root="$DESTDIR" localtime=UTC install +- mkdir -p "$DESTDIR/etc" +- install -m 644 -o root -g root nsswitch.conf "$DESTDIR/etc/nsswitch.conf" -- cgit v1.2.1