summaryrefslogtreecommitdiff
path: root/chunks/build-essential-linux-api-headers.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/build-essential-linux-api-headers.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/build-essential-linux-api-headers.morph')
-rw-r--r--chunks/build-essential-linux-api-headers.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/chunks/build-essential-linux-api-headers.morph b/chunks/build-essential-linux-api-headers.morph
new file mode 100644
index 00000000..edc4399c
--- /dev/null
+++ b/chunks/build-essential-linux-api-headers.morph
@@ -0,0 +1,10 @@
+name: linux-api-headers
+kind: chunk
+repo: upstream:linux
+ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8
+unpetrify-ref: baserock/build-essential
+install-commands:
+- make mrproper
+- ARCH=$(./morph-arch) make INSTALL_HDR_PATH=dest headers_install
+- install -d "$DESTDIR${PREFIX-/usr}/include"
+- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include"