summaryrefslogtreecommitdiff
path: root/homebrew/sdcc
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sdcc')
-rw-r--r--homebrew/sdcc/.beer28
-rw-r--r--homebrew/sdcc/.make.sh-auto5
-rw-r--r--homebrew/sdcc/_metadata/description1
-rw-r--r--homebrew/sdcc/_metadata/homepage1
-rw-r--r--homebrew/sdcc/_metadata/name1
-rw-r--r--homebrew/sdcc/_metadata/version1
-rwxr-xr-xhomebrew/sdcc/download.sh1
7 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/sdcc/.beer b/homebrew/sdcc/.beer
new file mode 100644
index 000000000..b191d5935
--- /dev/null
+++ b/homebrew/sdcc/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Sdcc",
+ "description": "ANSI C compiler for Intel 8051, Maxim 80DS390, and Zilog Z80",
+ "url": "https://downloads.sourceforge.net/project/sdcc/sdcc/3.8.0/sdcc-src-3.8.0.tar.bz2",
+ "mirror": null,
+ "homepage": "https://sdcc.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "gputils",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"all\"",
+ "system \"make\", \"install\"",
+ "rm Dir[\"#{bin}/*.el\"]"
+ ],
+ "version": "3.8.0",
+ "file": "sdcc.rb"
+} \ No newline at end of file
diff --git a/homebrew/sdcc/.make.sh-auto b/homebrew/sdcc/.make.sh-auto
new file mode 100644
index 000000000..3de323067
--- /dev/null
+++ b/homebrew/sdcc/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+pkg:configure
+make all
+make DESTDIR=${PKG_DEST} install
+rm Dir["#{bin}/*.el"]
diff --git a/homebrew/sdcc/_metadata/description b/homebrew/sdcc/_metadata/description
new file mode 100644
index 000000000..e18eb631d
--- /dev/null
+++ b/homebrew/sdcc/_metadata/description
@@ -0,0 +1 @@
+ANSI C compiler for Intel 8051, Maxim 80DS390, and Zilog Z80
diff --git a/homebrew/sdcc/_metadata/homepage b/homebrew/sdcc/_metadata/homepage
new file mode 100644
index 000000000..a0b9409a4
--- /dev/null
+++ b/homebrew/sdcc/_metadata/homepage
@@ -0,0 +1 @@
+https://sdcc.sourceforge.io/
diff --git a/homebrew/sdcc/_metadata/name b/homebrew/sdcc/_metadata/name
new file mode 100644
index 000000000..cb412fb7e
--- /dev/null
+++ b/homebrew/sdcc/_metadata/name
@@ -0,0 +1 @@
+Sdcc
diff --git a/homebrew/sdcc/_metadata/version b/homebrew/sdcc/_metadata/version
new file mode 100644
index 000000000..19811903a
--- /dev/null
+++ b/homebrew/sdcc/_metadata/version
@@ -0,0 +1 @@
+3.8.0
diff --git a/homebrew/sdcc/download.sh b/homebrew/sdcc/download.sh
new file mode 100755
index 000000000..acdaed691
--- /dev/null
+++ b/homebrew/sdcc/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/sdcc/sdcc/3.8.0/sdcc-src-3.8.0.tar.bz2 \ No newline at end of file