summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-09 08:16:20 +0000
commit2deabedb6e998d3bd96fd910617461a24a11d73b (patch)
treec61c71fda6768404ccfde568d9fcb36c2e787f52 /core
parent895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff)
downloaddefinitions-2deabedb6e998d3bd96fd910617461a24a11d73b.tar.gz
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the stratum containing each chunk. Also add a repo and ref field to the chunk morphologies. Any chunks which did not previously have chunk morphologies have now had a morphology generated.
Diffstat (limited to 'core')
-rw-r--r--core/XML-Parser.morph9
-rw-r--r--core/autoconf.morph10
-rw-r--r--core/automake.morph14
-rw-r--r--core/bash.morph10
-rw-r--r--core/bc.morph8
-rw-r--r--core/bison.morph19
-rw-r--r--core/bzip2.morph12
-rw-r--r--core/cmake.morph5
-rw-r--r--core/cpython.morph12
-rw-r--r--core/curl.morph16
-rw-r--r--core/error-perl-tarball.morph7
-rw-r--r--core/flex.morph16
-rw-r--r--core/gdbm.morph10
-rw-r--r--core/gettext.morph11
-rw-r--r--core/git.morph16
-rw-r--r--core/gperf.morph5
-rw-r--r--core/gtk-doc-stub.morph9
-rw-r--r--core/intltool.morph10
-rw-r--r--core/libexpat.morph15
-rw-r--r--core/libtool.morph10
-rw-r--r--core/libxml2.morph10
-rw-r--r--core/m4.morph7
-rw-r--r--core/mini-utils.morph8
-rw-r--r--core/nano.morph7
-rw-r--r--core/ncurses.morph11
-rw-r--r--core/openssl-new.morph19
-rw-r--r--core/perl.morph20
-rw-r--r--core/pkg-config.morph7
-rw-r--r--core/python-setuptools.morph10
-rw-r--r--core/pyyaml.morph10
-rw-r--r--core/texinfo-tarball.morph13
-rw-r--r--core/util-linux.morph22
-rw-r--r--core/xz.morph10
33 files changed, 378 insertions, 0 deletions
diff --git a/core/XML-Parser.morph b/core/XML-Parser.morph
new file mode 100644
index 00000000..769b5ff2
--- /dev/null
+++ b/core/XML-Parser.morph
@@ -0,0 +1,9 @@
+name: core/XML-Parser.morph
+kind: chunk
+repo: upstream:XML-Parser
+ref: e1a3ec157140a699e3020836475a0df622f70f1b
+build-system: cpan
+build_depends:
+- core/libexpat.morph
+- core/libxml2.morph
+- core/perl.morph
diff --git a/core/autoconf.morph b/core/autoconf.morph
new file mode 100644
index 00000000..037bc6cc
--- /dev/null
+++ b/core/autoconf.morph
@@ -0,0 +1,10 @@
+name: core/autoconf.morph
+kind: chunk
+repo: upstream:autoconf
+ref: cffdb90be331111ce3fbe4a32320181ec2b92652
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX"
+build_depends:
+- core/m4.morph
+- core/perl.morph
diff --git a/core/automake.morph b/core/automake.morph
new file mode 100644
index 00000000..9ab5c649
--- /dev/null
+++ b/core/automake.morph
@@ -0,0 +1,14 @@
+name: core/automake.morph
+kind: chunk
+repo: upstream:automake
+ref: 5ac84ae6760252fc60b144a7b4deb41694f95fe7
+build-system: autotools
+configure-commands:
+- ./bootstrap
+- ./configure --prefix="$PREFIX"
+build-commands:
+- unset DESTDIR; make
+build_depends:
+- core/autoconf.morph
+- core/perl.morph
+- core/texinfo-tarball.morph
diff --git a/core/bash.morph b/core/bash.morph
new file mode 100644
index 00000000..ad4171c9
--- /dev/null
+++ b/core/bash.morph
@@ -0,0 +1,10 @@
+name: core/bash.morph
+kind: chunk
+repo: upstream:bash
+ref: 783c677f45354b0d6df70e552217ecad8481804f
+configure-commands:
+- ./configure --prefix=/usr --bindir=/bin --without-bash-malloc --with-installed-readline
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
diff --git a/core/bc.morph b/core/bc.morph
new file mode 100644
index 00000000..8abb559b
--- /dev/null
+++ b/core/bc.morph
@@ -0,0 +1,8 @@
+name: core/bc.morph
+kind: chunk
+repo: upstream:bc-tarball
+ref: 0956d119432ff6a2e85bae1fa336df799cad70b0
+build-system: autotools
+build_depends:
+- core/flex.morph
+- core/texinfo-tarball.morph
diff --git a/core/bison.morph b/core/bison.morph
new file mode 100644
index 00000000..deaf6b8a
--- /dev/null
+++ b/core/bison.morph
@@ -0,0 +1,19 @@
+name: core/bison.morph
+kind: chunk
+repo: upstream:bison
+ref: 6729ad1c314b179225325dcc1bc684077a71f859
+configure-commands:
+- bash bootstrap --skip-po
+- ./configure --prefix=/usr --disable-nls
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/bash.morph
+- core/flex.morph
+- core/gettext.morph
+- core/git.morph
+- core/mini-utils.morph
diff --git a/core/bzip2.morph b/core/bzip2.morph
new file mode 100644
index 00000000..1c392ddd
--- /dev/null
+++ b/core/bzip2.morph
@@ -0,0 +1,12 @@
+name: core/bzip2.morph
+kind: chunk
+repo: upstream:bzip2
+ref: 8deafa68e52b230018c0318dc7959ff9af3ad2a5
+configure-commands:
+- sed -i -rf bzip2.morph-makefix.sed Makefile
+build-commands:
+- make -f Makefile-libbz2_so
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" PREFIX="$PREFIX" install
+- install libbz2.so* "$DESTDIR$PREFIX/lib"
diff --git a/core/cmake.morph b/core/cmake.morph
new file mode 100644
index 00000000..6788df6c
--- /dev/null
+++ b/core/cmake.morph
@@ -0,0 +1,5 @@
+name: core/cmake.morph
+kind: chunk
+repo: upstream:cmake
+ref: 7f9a761e761046a479fda38ee13f5dacd94ceeea
+build-system: autotools
diff --git a/core/cpython.morph b/core/cpython.morph
new file mode 100644
index 00000000..1b83ac02
--- /dev/null
+++ b/core/cpython.morph
@@ -0,0 +1,12 @@
+name: core/cpython.morph
+kind: chunk
+repo: upstream:cpython
+ref: fa86445bfd4fb8e5441d685d92bf8a8ee237f022
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --enable-shared
+post-install-commands:
+- ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2
+build_depends:
+- core/openssl-new.morph
+- core/bzip2.morph
diff --git a/core/curl.morph b/core/curl.morph
new file mode 100644
index 00000000..476c4e2e
--- /dev/null
+++ b/core/curl.morph
@@ -0,0 +1,16 @@
+name: core/curl.morph
+kind: chunk
+repo: upstream:curl
+ref: 3c835adc9fe20f7b34df3f0abd4db6ff8b75bc3b
+configure-commands:
+- ./buildconf
+- ./configure --disable-manual --prefix="$PREFIX"
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/libtool.morph
+- core/openssl-new.morph
diff --git a/core/error-perl-tarball.morph b/core/error-perl-tarball.morph
new file mode 100644
index 00000000..ecb864a4
--- /dev/null
+++ b/core/error-perl-tarball.morph
@@ -0,0 +1,7 @@
+name: core/error-perl-tarball.morph
+kind: chunk
+repo: upstream:error-perl-tarball
+ref: 661707e7bd4282aeab5a2f6a8f02ca5731fd813f
+build-system: cpan
+build_depends:
+- core/perl.morph
diff --git a/core/flex.morph b/core/flex.morph
new file mode 100644
index 00000000..7911660a
--- /dev/null
+++ b/core/flex.morph
@@ -0,0 +1,16 @@
+name: core/flex.morph
+kind: chunk
+repo: upstream:flex
+ref: de10f98e8a2dc2a021796811490d0f30c3cd90bf
+configure-commands:
+- ./configure --prefix="$PREFIX"
+build-commands:
+- make dist_doc_DATA=
+install-commands:
+- make dist_doc_DATA= DESTDIR="$DESTDIR" install
+- ln -s libfl.a "$DESTDIR$PREFIX/lib/libl.a"
+- echo "#!$PREFIX/bin/sh" >"$DESTDIR$PREFIX/bin/lex"
+- echo 'exec '"$PREFIX"'/bin/flex -l "$@"' >>"$DESTDIR$PREFIX/bin/lex"
+- chmod 755 "$DESTDIR$PREFIX/bin/lex"
+build_depends:
+- core/m4.morph
diff --git a/core/gdbm.morph b/core/gdbm.morph
new file mode 100644
index 00000000..4f2124a7
--- /dev/null
+++ b/core/gdbm.morph
@@ -0,0 +1,10 @@
+name: core/gdbm.morph
+kind: chunk
+repo: upstream:gdbm
+ref: 51871d08a48ff781186f7a7b22ec69a1db38eb4c
+configure-commands:
+- ./configure --prefix="$PREFIX" --enable-libgdbm-compat --disable-nls
+build-commands:
+- make MANS= INFO_DEPS=
+install-commands:
+- make MANS= INFO_DEPS= DESTDIR="$DESTDIR" install
diff --git a/core/gettext.morph b/core/gettext.morph
new file mode 100644
index 00000000..6bbce2a2
--- /dev/null
+++ b/core/gettext.morph
@@ -0,0 +1,11 @@
+name: core/gettext.morph
+kind: chunk
+repo: upstream:gettext
+ref: 3898e324f07c05404b63d71f0e519f352fb1e072
+max-jobs: 1
+configure-commands:
+- ./configure --prefix=/usr
+build-commands:
+- make EXAMPLESPOFILES=
+install-commands:
+- make EXAMPLESPOFILES= DESTDIR="$DESTDIR" install
diff --git a/core/git.morph b/core/git.morph
new file mode 100644
index 00000000..29b5210a
--- /dev/null
+++ b/core/git.morph
@@ -0,0 +1,16 @@
+name: core/git.morph
+kind: chunk
+repo: upstream:git
+ref: 43efcf42382e87de4aa423e5e1607958ad1717d0
+build-commands:
+- make prefix=${PREFIX-/usr} all PYTHON_PATH=${PREFIX-/usr}/bin/python NO_TCLTK=YesPlease
+install-commands:
+- make prefix=${PREFIX-/usr} install
+build_depends:
+- core/autoconf.morph
+- core/cpython.morph
+- core/curl.morph
+- core/error-perl-tarball.morph
+- core/gettext.morph
+- core/libexpat.morph
+- core/openssl-new.morph
diff --git a/core/gperf.morph b/core/gperf.morph
new file mode 100644
index 00000000..c1f99dfc
--- /dev/null
+++ b/core/gperf.morph
@@ -0,0 +1,5 @@
+name: core/gperf.morph
+kind: chunk
+repo: upstream:gperf
+ref: 5094e4a539adf845111013f82c2c4fcaec637983
+build-system: autotools
diff --git a/core/gtk-doc-stub.morph b/core/gtk-doc-stub.morph
new file mode 100644
index 00000000..58ccb845
--- /dev/null
+++ b/core/gtk-doc-stub.morph
@@ -0,0 +1,9 @@
+name: core/gtk-doc-stub.morph
+kind: chunk
+repo: upstream:gtk-doc-stub
+ref: 58ec0d8593541ef7ae522ce42ebec6f98536c4e0
+build-system: autotools
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/libtool.morph
diff --git a/core/intltool.morph b/core/intltool.morph
new file mode 100644
index 00000000..1c07dc4d
--- /dev/null
+++ b/core/intltool.morph
@@ -0,0 +1,10 @@
+name: core/intltool.morph
+kind: chunk
+repo: upstream:intltool
+ref: 12f04c88be9ff8a578d8fd6990ee2448c66dc5f4
+build-system: autotools
+build_depends:
+- core/XML-Parser.morph
+- core/autoconf.morph
+- core/automake.morph
+- core/perl.morph
diff --git a/core/libexpat.morph b/core/libexpat.morph
new file mode 100644
index 00000000..6fbf6c6a
--- /dev/null
+++ b/core/libexpat.morph
@@ -0,0 +1,15 @@
+name: core/libexpat.morph
+kind: chunk
+repo: upstream:libexpat
+ref: 97678ab13f6d29878997256b6ae1ded679ae5c5c
+configure-commands:
+- autoreconf -i
+- ./configure --prefix="${PREFIX-/usr}"
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/libtool.morph
diff --git a/core/libtool.morph b/core/libtool.morph
new file mode 100644
index 00000000..33365b62
--- /dev/null
+++ b/core/libtool.morph
@@ -0,0 +1,10 @@
+name: core/libtool.morph
+kind: chunk
+repo: upstream:libtool
+ref: d388b7f2dc628b22006025d01179bc09b8aabe81
+max-jobs: 1
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX"
+build_depends:
+- core/bash.morph
diff --git a/core/libxml2.morph b/core/libxml2.morph
new file mode 100644
index 00000000..1b36acca
--- /dev/null
+++ b/core/libxml2.morph
@@ -0,0 +1,10 @@
+name: core/libxml2.morph
+kind: chunk
+repo: upstream:libxml2
+ref: ee8f1d4cda8dc1a6f2c515fe234f7bc89cdc9f80
+build-system: autotools
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/cpython.morph
+- core/libtool.morph
diff --git a/core/m4.morph b/core/m4.morph
new file mode 100644
index 00000000..1cf8da2c
--- /dev/null
+++ b/core/m4.morph
@@ -0,0 +1,7 @@
+name: core/m4.morph
+kind: chunk
+repo: upstream:m4
+ref: d533342af991401d865de9b037ac03cdc9bd852e
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --disable-nls
diff --git a/core/mini-utils.morph b/core/mini-utils.morph
new file mode 100644
index 00000000..a0d49832
--- /dev/null
+++ b/core/mini-utils.morph
@@ -0,0 +1,8 @@
+name: core/mini-utils.morph
+kind: chunk
+repo: baserock:baserock/mini-utils
+ref: 5293265b29bbf468ab9d7f3302b19dbc81d0f8b8
+build-system: autotools
+configure-commands: []
+install-commands:
+- make PREFIX="$PREFIX" DESTDIR="$DESTDIR" install
diff --git a/core/nano.morph b/core/nano.morph
new file mode 100644
index 00000000..4c04c9d9
--- /dev/null
+++ b/core/nano.morph
@@ -0,0 +1,7 @@
+name: core/nano.morph
+kind: chunk
+repo: upstream:nano-tarball
+ref: 8b74abeb02c01ddc768c465a826360cf33cec063
+build-system: autotools
+build_depends:
+- core/ncurses.morph
diff --git a/core/ncurses.morph b/core/ncurses.morph
new file mode 100644
index 00000000..8c46ce5d
--- /dev/null
+++ b/core/ncurses.morph
@@ -0,0 +1,11 @@
+name: core/ncurses.morph
+kind: chunk
+repo: upstream:ncurses
+ref: 0fe89dc66ec061b839bea3ab451207e2dee757b9
+configure-commands:
+- LDCONFIG=true ./configure --with-shared --without-debug --enable-widec
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- sh ncurses-morph-postinstall.sh
diff --git a/core/openssl-new.morph b/core/openssl-new.morph
new file mode 100644
index 00000000..48268e3c
--- /dev/null
+++ b/core/openssl-new.morph
@@ -0,0 +1,19 @@
+name: core/openssl-new.morph
+kind: chunk
+repo: upstream:openssl-new
+ref: 2bee25a915c2ba40e58229788aabc97765426016
+max-jobs: 1
+configure-commands:
+- sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile
+- |
+ if [ "$(uname -m)" = "ppc64" ]; then
+ sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared
+ else
+ ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared
+ fi
+build-commands:
+- make
+install-commands:
+- make INSTALL_PREFIX="$DESTDIR" install_sw
+build_depends:
+- core/perl.morph
diff --git a/core/perl.morph b/core/perl.morph
new file mode 100644
index 00000000..3da03061
--- /dev/null
+++ b/core/perl.morph
@@ -0,0 +1,20 @@
+name: core/perl.morph
+kind: chunk
+repo: upstream:perl
+ref: 78f9a3c880f11578fb9ff9c7d5f7e34b602d2ad1
+max-jobs: 1
+configure-commands:
+- sh Configure -des -Dprefix="$PREFIX" -Darchlib="$PREFIX/lib/perl" -Dprivlib="$PREFIX/share/perl"
+ -Dbin="$PREFIX/bin" -Dscriptdir="$PREFIX/bin" -Dman1dir="$PREFIX/share/man/man1"
+ -Dman3dir="$PREFIX/share/man/man3" -Dsiteprefix="$PREFIX" -Dsitearch="$PREFIX/lib/perl"
+ -Dsitelib="$PREFIX/share/perl" -Dsitebin="$PREFIX/bin" -Dsitescript="$PREFIX/bin"
+ -Dsiteman1dir="$PREFIX/share/man/man1" -Dsiteman3dir="$PREFIX/share/man/man3" -Dvendorprefix="$PREFIX"
+ -Dvendorarch="$PREFIX/lib/perl" -Dvendorlib="$PREFIX/share/perl" -Dvendorbin="$PREFIX/bin"
+ -Dvendorscript="$PREFIX/bin" -Dvendorman1dir="$PREFIX/share/man/man1" -Dvendorman3dir="$PREFIX/share/man/man3"
+ -Dpager="$PREFIX/bin/less -isR" -Duseshrplib
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+build_depends:
+- core/gdbm.morph
diff --git a/core/pkg-config.morph b/core/pkg-config.morph
new file mode 100644
index 00000000..d30b7b3a
--- /dev/null
+++ b/core/pkg-config.morph
@@ -0,0 +1,7 @@
+name: core/pkg-config.morph
+kind: chunk
+repo: upstream:pkg-config
+ref: 67a702a15cf88e270539484929ffa1f42b90c728
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --with-internal-glib
diff --git a/core/python-setuptools.morph b/core/python-setuptools.morph
new file mode 100644
index 00000000..088c1ab1
--- /dev/null
+++ b/core/python-setuptools.morph
@@ -0,0 +1,10 @@
+name: core/python-setuptools.morph
+kind: chunk
+repo: upstream:python-setuptools
+ref: 05b07a427a1eae2a51d527f7ac5135a8fd215d77
+build-commands:
+- python setup.py build
+install-commands:
+- python setup.py install --prefix=/usr --root "$DESTDIR"
+build_depends:
+- core/cpython.morph
diff --git a/core/pyyaml.morph b/core/pyyaml.morph
new file mode 100644
index 00000000..0c08e090
--- /dev/null
+++ b/core/pyyaml.morph
@@ -0,0 +1,10 @@
+name: core/pyyaml.morph
+kind: chunk
+repo: upstream:pyyaml
+ref: d9fbcceaed39d955f6871b07c61dc42f824285c1
+build-commands:
+- python setup.py --without-libyaml build
+install-commands:
+- python setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR"
+build_depends:
+- core/python-setuptools.morph
diff --git a/core/texinfo-tarball.morph b/core/texinfo-tarball.morph
new file mode 100644
index 00000000..1315a96b
--- /dev/null
+++ b/core/texinfo-tarball.morph
@@ -0,0 +1,13 @@
+name: core/texinfo-tarball.morph
+kind: chunk
+repo: upstream:texinfo-tarball
+ref: 4843a7f5ff14ac802a56f1cdd49960b25c15702b
+configure-commands:
+- ./configure --prefix="$PREFIX"
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- make DESTDIR="$DESTDIR" TEXMF="$PREFIX/share/texmf" install-tex
+build_depends:
+- core/ncurses.morph
diff --git a/core/util-linux.morph b/core/util-linux.morph
new file mode 100644
index 00000000..7ce1eac3
--- /dev/null
+++ b/core/util-linux.morph
@@ -0,0 +1,22 @@
+name: core/util-linux.morph
+kind: chunk
+repo: upstream:util-linux
+ref: 462008f79be9e195670b202cb43827b8aeb1e60b
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX" --disable-use-tty-group
+install-commands:
+- make DESTDIR="$(pwd)/util-linux-tmpdir" install
+- for prog in blkid blockdev cal chrt dmesg fdisk findfs flock fsck hexdump hwclock
+ ipcrm ipcs logger mkswap more mount mountpoint pivot_root readprofile renice script
+ setsid swapoff swapon switch_root umount; do find "$(pwd)/util-linux-tmpdir" -name
+ "$prog" -delete; done
+- cp -a "$(pwd)"/util-linux-tmpdir/* "$DESTDIR"
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/gettext.morph
+- core/git.morph
+- core/libtool.morph
+- core/pkg-config.morph
diff --git a/core/xz.morph b/core/xz.morph
new file mode 100644
index 00000000..38f7fde7
--- /dev/null
+++ b/core/xz.morph
@@ -0,0 +1,10 @@
+name: core/xz.morph
+kind: chunk
+repo: upstream:xz
+ref: 581deedf9d1eadcd84c4fcd23b9fdfe2dde18cc2
+build-system: autotools
+build_depends:
+- core/autoconf.morph
+- core/automake.morph
+- core/gettext.morph
+- core/libtool.morph