diff options
Diffstat (limited to 'homebrew/dynamips')
-rw-r--r-- | homebrew/dynamips/.beer | 30 | ||||
-rw-r--r-- | homebrew/dynamips/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/dynamips/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/dynamips/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/dynamips/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/dynamips/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/dynamips/download.sh | 1 |
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/dynamips/.beer b/homebrew/dynamips/.beer new file mode 100644 index 000000000..ca06e9ad1 --- /dev/null +++ b/homebrew/dynamips/.beer @@ -0,0 +1,30 @@ +{ + "name": "Dynamips", + "description": "Cisco 7200/3600/3725/3745/2600/1700 Router Emulator", + "url": "https://github.com/GNS3/dynamips/archive/v0.2.20.tar.gz", + "mirror": null, + "homepage": "https://github.com/GNS3/dynamips", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "libelf", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.append \"CFLAGS\", \"-I#{Formula[\"libelf\"].include}/libelf\"", + "ENV.deparallelize", + "system \"cmake\", \".\", \"-DANY_COMPILER=1\", *std_cmake_args", + "system \"make\", \"DYNAMIPS_CODE=stable\",", + "\"DYNAMIPS_ARCH=amd64\",", + "\"install\"" + ], + "version": "0.2.20", + "file": "dynamips.rb" +}
\ No newline at end of file diff --git a/homebrew/dynamips/.make.sh-auto b/homebrew/dynamips/.make.sh-auto new file mode 100644 index 000000000..503d3dfc1 --- /dev/null +++ b/homebrew/dynamips/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV.append "CFLAGS", "-I#{Formula["libelf"].include}/libelf" +ENV.deparallelize +cmake . -DANY_COMPILER=1 -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DYNAMIPS_CODE=stable DYNAMIPS_ARCH=amd64 DESTDIR=${PKG_DEST} install diff --git a/homebrew/dynamips/_metadata/description b/homebrew/dynamips/_metadata/description new file mode 100644 index 000000000..a47190d80 --- /dev/null +++ b/homebrew/dynamips/_metadata/description @@ -0,0 +1 @@ +Cisco 7200/3600/3725/3745/2600/1700 Router Emulator diff --git a/homebrew/dynamips/_metadata/homepage b/homebrew/dynamips/_metadata/homepage new file mode 100644 index 000000000..05c364657 --- /dev/null +++ b/homebrew/dynamips/_metadata/homepage @@ -0,0 +1 @@ +https://github.com/GNS3/dynamips diff --git a/homebrew/dynamips/_metadata/name b/homebrew/dynamips/_metadata/name new file mode 100644 index 000000000..709aa345c --- /dev/null +++ b/homebrew/dynamips/_metadata/name @@ -0,0 +1 @@ +Dynamips diff --git a/homebrew/dynamips/_metadata/version b/homebrew/dynamips/_metadata/version new file mode 100644 index 000000000..3bfb9a48b --- /dev/null +++ b/homebrew/dynamips/_metadata/version @@ -0,0 +1 @@ +0.2.20 diff --git a/homebrew/dynamips/download.sh b/homebrew/dynamips/download.sh new file mode 100755 index 000000000..1e09b8b6c --- /dev/null +++ b/homebrew/dynamips/download.sh @@ -0,0 +1 @@ +wget https://github.com/GNS3/dynamips/archive/v0.2.20.tar.gz
\ No newline at end of file |