summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-25 17:51:59 (GMT)
committerRichard Maw <richard.maw@gmail.com>2015-02-25 13:50:20 (GMT)
commit85d1fa6ef8fbb973b178d3971403485052880f50 (patch)
tree4a3729d54b26ee216c5f8bf405b348e8f3b72985
parenta7cec56a7e2c4d076580c517f88d114ea2be05d0 (diff)
downloaddefinitions-85d1fa6ef8fbb973b178d3971403485052880f50.tar.gz
gcc.morph: Define splitting rules
-rw-r--r--strata/build-essential/gcc.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index 02be4dd..345d3b0 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -1,6 +1,22 @@
name: gcc
kind: chunk
+products:
+- artifact: gcc-libs
+ include:
+ - (usr/)lib/lib.*\.so(\.\d+)*$
+- artifact: gcc-doc
+ include:
+ - (usr/)?share/doc/.*
+ - (usr/)?share/man/.*
+ - (usr/)?share/info/.*
+- artifact: gcc-devel
+ # devel includes everything which isn't documentation or libs, since
+ # everything else gcc produces is required for compiling
+ # this is the -devel artifact instead of -misc, since it goes in -devel
+ # stratum artifacts by default
+ include: [ .* ]
+
configure-commands:
- mkdir o