summaryrefslogtreecommitdiff
path: root/chunks/eglibc.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:02:36 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:13:23 +0000
commitaa85df216ef454a47f2d6d027fcec2400d1083e3 (patch)
treeeb238277d6e9f1c7be5d99043d507d9c0e5961ff /chunks/eglibc.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/eglibc.morph')
-rw-r--r--chunks/eglibc.morph24
1 files changed, 24 insertions, 0 deletions
diff --git a/chunks/eglibc.morph b/chunks/eglibc.morph
new file mode 100644
index 00000000..7df39c85
--- /dev/null
+++ b/chunks/eglibc.morph
@@ -0,0 +1,24 @@
+name: eglibc
+kind: chunk
+repo: upstream:eglibc2
+ref: e57ce33023d37183847a0c2f692645887691576a
+unpetrify-ref: baserock/2.15-build-essential
+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"