summaryrefslogtreecommitdiff
path: root/strata/tools
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 21:45:15 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 21:52:41 +0000
commit5c261eee00014199eb3d942758598041473f1ddd (patch)
tree4be8f6fa931142aad3383d53186fb9e84ca218eb /strata/tools
parent045e89c396aa14218422cef507c2afedcae3dc6b (diff)
downloaddefinitions-baserock/franred/organize-morphologies-script.tar.gz
Organize definitions directory by morphologiesbaserock/franred/organize-morphologies-script
This is the result to run organize-morphologies.py . The morphologies are clasified in clusters, systems, strata and chunks. - "clusters" contains all the cluster morphologies. - "systems" contains all the systems morphologies. - "strata" contains all the stratum morphologies and the chunks morphologies which are inside of their stratum morphology folder, if this chunks will not be autodetected on build time.
Diffstat (limited to 'strata/tools')
-rw-r--r--strata/tools/cmdtest.morph22
-rw-r--r--strata/tools/coreutils.morph24
-rw-r--r--strata/tools/device-tree-compiler.morph22
-rw-r--r--strata/tools/distcc.morph22
-rw-r--r--strata/tools/e2fsprogs.morph29
-rw-r--r--strata/tools/git-fat.morph21
-rw-r--r--strata/tools/kexec-tools.morph22
-rw-r--r--strata/tools/lsof.morph27
-rw-r--r--strata/tools/pyfilesystem.morph22
-rw-r--r--strata/tools/python-coveragepy.morph22
-rw-r--r--strata/tools/python-ttystatus.morph22
-rw-r--r--strata/tools/rsync.morph22
-rw-r--r--strata/tools/screen.morph24
-rw-r--r--strata/tools/u-boot.morph27
-rw-r--r--strata/tools/vala.morph21
-rw-r--r--strata/tools/vim.morph25
16 files changed, 374 insertions, 0 deletions
diff --git a/strata/tools/cmdtest.morph b/strata/tools/cmdtest.morph
new file mode 100644
index 00000000..90b81f61
--- /dev/null
+++ b/strata/tools/cmdtest.morph
@@ -0,0 +1,22 @@
+name: cmdtest
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- python setup.py build
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- python setup.py install --prefix=/usr --root "$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/coreutils.morph b/strata/tools/coreutils.morph
new file mode 100644
index 00000000..3cef9f2f
--- /dev/null
+++ b/strata/tools/coreutils.morph
@@ -0,0 +1,24 @@
+name: coreutils
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
+- bash bootstrap --skip-po
+- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls --enable-no-install-program='[,base64,basename,cat,chcon,chgrp,chmod,chown,chroot,cksum,comm,cp,csplit,cut,date,dd,df,dir,dircolors,dirname,du,echo,env,expand,expr,false,fold,ginstall,groups,head,hostid,id,kill,ln,logname,ls,md5sum,mkdir,mkfifo,mknod,mktemp,mv,nice,nohup,od,printenv,printf,pwd,readlink,realpath,rm,rmdir,seq,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,sleep,sort,split,stat,stty,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,tty,uname,unexpand,uniq,unlink,uptime,users,wc,who,whoami,yes'
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/device-tree-compiler.morph b/strata/tools/device-tree-compiler.morph
new file mode 100644
index 00000000..e316681b
--- /dev/null
+++ b/strata/tools/device-tree-compiler.morph
@@ -0,0 +1,22 @@
+name: device-tree-compiler
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- make all
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- make install DESTDIR="$DESTDIR" PREFIX="$PREFIX"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/distcc.morph b/strata/tools/distcc.morph
new file mode 100644
index 00000000..411a7f84
--- /dev/null
+++ b/strata/tools/distcc.morph
@@ -0,0 +1,22 @@
+name: distcc
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
+- ./configure --prefix="$PREFIX" --disable-Werror
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands: []
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/e2fsprogs.morph b/strata/tools/e2fsprogs.morph
new file mode 100644
index 00000000..db7951fb
--- /dev/null
+++ b/strata/tools/e2fsprogs.morph
@@ -0,0 +1,29 @@
+name: e2fsprogs
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- |
+ ./configure --prefix="$PREFIX" --sysconfdir=/etc \
+ --disable-libuuid --disable-uuidd --disable-fsck
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- |
+ td="$(mktemp -d)"
+ make DESTDIR="$td" install
+ find "$td" \( -name blkid -o -name findfs -o -name fsck \) -delete
+ find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete
+ mv "$td"/* "$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/git-fat.morph b/strata/tools/git-fat.morph
new file mode 100644
index 00000000..248c5ba2
--- /dev/null
+++ b/strata/tools/git-fat.morph
@@ -0,0 +1,21 @@
+name: git-fat
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- install -D -m 755 git-fat "$DESTDIR/usr/bin/git-fat"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/kexec-tools.morph b/strata/tools/kexec-tools.morph
new file mode 100644
index 00000000..ddccdb7c
--- /dev/null
+++ b/strata/tools/kexec-tools.morph
@@ -0,0 +1,22 @@
+name: kexec-tools
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- ./bootstrap
+- ./configure --prefix="$PREFIX"
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands: []
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/lsof.morph b/strata/tools/lsof.morph
new file mode 100644
index 00000000..ed11f9fa
--- /dev/null
+++ b/strata/tools/lsof.morph
@@ -0,0 +1,27 @@
+name: lsof
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands:
+- tar xf lsof_*_src.tar
+- cd lsof_*_src/ && ./Configure -n linux
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- cd lsof_*_src/ && make
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/bin
+- mv lsof_*_src/lsof "$DESTDIR$PREFIX"/bin/lsof
+- mkdir -p "$DESTDIR$PREFIX"/man/man8
+- mv lsof_*_src/lsof.8 "$DESTDIR$PREFIX"/man/man8
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/pyfilesystem.morph b/strata/tools/pyfilesystem.morph
new file mode 100644
index 00000000..1306796e
--- /dev/null
+++ b/strata/tools/pyfilesystem.morph
@@ -0,0 +1,22 @@
+name: pyfilesystem
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- python setup.py build
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- python setup.py install --prefix="$PREFIX" --root "$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/python-coveragepy.morph b/strata/tools/python-coveragepy.morph
new file mode 100644
index 00000000..65bcbe85
--- /dev/null
+++ b/strata/tools/python-coveragepy.morph
@@ -0,0 +1,22 @@
+name: python-coveragepy
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- python setup.py build
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- python setup.py install --prefix=/usr --root "$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/python-ttystatus.morph b/strata/tools/python-ttystatus.morph
new file mode 100644
index 00000000..68d12926
--- /dev/null
+++ b/strata/tools/python-ttystatus.morph
@@ -0,0 +1,22 @@
+name: python-ttystatus
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- python setup.py build
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- python setup.py install --prefix=/usr --root "$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/rsync.morph b/strata/tools/rsync.morph
new file mode 100644
index 00000000..aaa8d0e3
--- /dev/null
+++ b/strata/tools/rsync.morph
@@ -0,0 +1,22 @@
+name: rsync
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- make proto
+- make
+post-build-commands: []
+pre-install-commands: []
+install-commands: []
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/screen.morph b/strata/tools/screen.morph
new file mode 100644
index 00000000..21b5a29b
--- /dev/null
+++ b/strata/tools/screen.morph
@@ -0,0 +1,24 @@
+name: screen
+kind: chunk
+description: A terminal multiplexer and sanity tool for many
+max-jobs: 1
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands:
+- cd ./src && sh autogen.sh
+- cd ./src && ./configure --prefix="$PREFIX"
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- cd ./src && make
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- cd ./src && make DESTDIR="$DESTDIR" install
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/u-boot.morph b/strata/tools/u-boot.morph
new file mode 100644
index 00000000..77e0dfbb
--- /dev/null
+++ b/strata/tools/u-boot.morph
@@ -0,0 +1,27 @@
+name: u-boot
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands: []
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- make tools
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX/bin"
+- install -m 755 tools/img2brec.sh "$DESTDIR$PREFIX/bin/."
+- install -m 755 tools/jtagconsole "$DESTDIR$PREFIX/bin/."
+- install -m 755 tools/netconsole "$DESTDIR$PREFIX/bin/."
+- install -m 755 tools/mkenvimage "$DESTDIR$PREFIX/bin/."
+- install -m 755 tools/mkimage "$DESTDIR$PREFIX/bin/."
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/vala.morph b/strata/tools/vala.morph
new file mode 100644
index 00000000..3d7f1ce9
--- /dev/null
+++ b/strata/tools/vala.morph
@@ -0,0 +1,21 @@
+name: vala
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- ./configure --prefix="$PREFIX"
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands: []
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []
diff --git a/strata/tools/vim.morph b/strata/tools/vim.morph
new file mode 100644
index 00000000..9a8b00c3
--- /dev/null
+++ b/strata/tools/vim.morph
@@ -0,0 +1,25 @@
+name: vim
+kind: chunk
+description: ''
+max-jobs: null
+products: []
+build-system: autotools
+pre-configure-commands: []
+configure-commands:
+- echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >>src/feature.h
+- ./configure --prefix="$PREFIX" --enable-multibyte
+post-configure-commands: []
+pre-build-commands: []
+build-commands: []
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR"/etc
+- install -m 644 runtime/vimrc_example.vim "$DESTDIR"/etc/vimrc
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []