Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

coreutils: move to new syntax

  • Loading branch information...
commit 8b6a3fd2dd6cdbd7eb4ec62f3e7267db57502e15 1 parent 1e32752
meh. meh authored
4 gnu/application/system/coreutils/coreutils-8.12.rbuild
View
@@ -0,0 +1,4 @@
+arch '~x86', '~amd64'
+kernel 'linux'
+compiler 'gcc'
+libc 'glibc'
56 gnu/application/system/coreutils/coreutils.rbuild
View
@@ -0,0 +1,56 @@
+maintainer 'meh. <meh@paranoici.org>'
+
+name 'coreutils'
+tags 'application', 'system', 'utility', 'gnu'
+
+description 'Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)'
+homepage 'http://www.gnu.org/software/coreutils/'
+license 'GPL-3'
+
+source 'gnu://coreutils/#{version}'
+
+dependencies << '>=system/library/ncurses-5.3'
+
+features {
+ nls {
+ before :configure do |conf|
+ conf.enable 'nls', enabled?
+ end
+ }
+
+ caps {
+ before :configure do |conf|
+ if enabled?
+ conf.enable 'caps'
+ else
+ conf.disable 'libcap'
+ end
+ end
+ }
+
+ acl {
+ before :configure do |conf|
+ conf.enable 'acl', enabled?
+ end
+ }
+
+ xattr {
+ before :configure do |conf|
+ conf.enable 'xattr', enabled?
+ end
+ }
+
+ gmp {
+ before :configure do |conf|
+ conf.with 'gmp', enabled?
+ end
+ }
+}
+
+before :configure do |conf|
+ conf.with 'packager', 'Distrø'
+
+ conf.enable 'install-program', 'arch'
+ conf.enable 'no-install-program', 'groups,hostname,kill,su,uptime'
+ conf.enable 'largefile'
+end
6 gnu/application/system/coreutils/digest.yml
View
@@ -0,0 +1,6 @@
+---
+- version: '8.12'
+ files:
+ - name: coreutils-8.12.tar.xz
+ url: gnu://coreutils/8.12
+ digest: 1e3c0182cdd0042871741d694ae1166dd90eb9f03a16c0aac0a9072a7aa92faf
Please sign in to comment.
Something went wrong with that request. Please try again.