summaryrefslogtreecommitdiff
path: root/strata/coreutils-common
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2014-10-15 16:16:24 +0000
committerJavier Jardón <jjardon@gnome.org>2014-11-11 22:47:58 +0000
commita7aea3c4d98472721d05d4cae9f453a410062cbf (patch)
treeaa3ac3c5c682d11e12cff3e9e998c96b676fca33 /strata/coreutils-common
parent312e07068a496879e867eabf7ad11041b7779f80 (diff)
downloaddefinitions-a7aea3c4d98472721d05d4cae9f453a410062cbf.tar.gz
Move coreutils to its own stratum
Diffstat (limited to 'strata/coreutils-common')
-rw-r--r--strata/coreutils-common/coreutils.morph9
-rw-r--r--strata/coreutils-common/patch.morph9
2 files changed, 18 insertions, 0 deletions
diff --git a/strata/coreutils-common/coreutils.morph b/strata/coreutils-common/coreutils.morph
new file mode 100644
index 00000000..820a4eed
--- /dev/null
+++ b/strata/coreutils-common/coreutils.morph
@@ -0,0 +1,9 @@
+name: coreutils
+kind: chunk
+build-system: autotools
+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'
+install-commands:
+- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
diff --git a/strata/coreutils-common/patch.morph b/strata/coreutils-common/patch.morph
new file mode 100644
index 00000000..65e07e67
--- /dev/null
+++ b/strata/coreutils-common/patch.morph
@@ -0,0 +1,9 @@
+name: patch
+kind: chunk
+configure-commands:
+- bash bootstrap --skip-po
+- ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin --disable-nls
+build-commands:
+- make
+install-commands:
+- make DESTDIR="$DESTDIR" install