summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2015-05-28 12:56:00 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-06-01 09:06:44 +0000
commit64406608de0dfe2975e5fd1696a9dcc2535e02e2 (patch)
tree67330fca1e1d114dc7a2383bd45b59023b3c1428
parent6b14ff59f2acf6d6403f014f50e4ad475a36b381 (diff)
downloaddefinitions-64406608de0dfe2975e5fd1696a9dcc2535e02e2.tar.gz
Add CUPS stratum and chunk
This is required to build openjdk, but may be useful in its own right too. Change-Id: I0a25e7b9875026860945f03d22a8bb8b17660584
-rw-r--r--strata/cups.morph11
-rw-r--r--strata/cups/cups.morph12
2 files changed, 23 insertions, 0 deletions
diff --git a/strata/cups.morph b/strata/cups.morph
new file mode 100644
index 00000000..b10bcd6c
--- /dev/null
+++ b/strata/cups.morph
@@ -0,0 +1,11 @@
+name: cups
+kind: stratum
+description: Cups printer driver
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: cups
+ morph: strata/cups/cups.morph
+ repo: upstream:cups
+ ref: f28bae1aeae3964fba4f0728263657405f63c417
+ unpetrify-ref: release-1.7.0
diff --git a/strata/cups/cups.morph b/strata/cups/cups.morph
new file mode 100644
index 00000000..a3c2edf8
--- /dev/null
+++ b/strata/cups/cups.morph
@@ -0,0 +1,12 @@
+name: cups
+kind: chunk
+build-system: manual
+configure-commands:
+- autoconf
+- ./configure --prefix="$PREFIX"
+build-commands:
+- make
+# Note: BUILDROOT is the variable recommended in INSTALL.txt for the
+# destination directory.
+install-commands:
+- make BUILDROOT="$DESTDIR" install