Skip to content

Commit

Permalink
Add windows
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jun 3, 2018
1 parent 93b7449 commit b35b2a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions recipes/jmol/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mkdir "%LIBRARY_PREFIX%\share\jmol"
unzip jsmol.zip -d "%LIBRARY_PREFIX%\share\jmol"
xcopy /y *.jar "%LIBRARY_PREFIX%\share\jmol"
echo @echo off > "%LIBRARY_PREFIX%\bin\jmol.bat"
echo java -Xmx512m -jar "%LIBRARY_PREFIX%\share\jmol\Jmol.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9 > "%LIBRARY_PREFIX%\bin\jmol.bat"

11 changes: 6 additions & 5 deletions recipes/jmol/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{% set name = "Jmol" %}
{% set version = "14.29" %}
{% set patchlevel = "15" %}
{% set version = "14.29.15" %}
{% set majmin = '.'.join(version.split('.')[:2]) %}
{% set sha256 = "e71df634776ade7c57f58986affd2b68e0d0d61bcda7b031e0b51da9d4aa81e1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://sourceforge.net/projects/jmol/files/Jmol/Version {{ version }}/Jmol {{ version }}.{{ patchlevel }}/Jmol-{{ version }}.{{ patchlevel }}-binary.tar.gz
url: https://sourceforge.net/projects/jmol/files/Jmol/Version {{ majmin }}/Jmol {{ version }}/Jmol-{{ version }}-binary.tar.gz
sha256: {{ sha256 }}

build:
noarch: python
number: 0

requirements:
build:
- unzip
- unzip # [not win]
- m2-unzip # [win]
run:
- openjdk

Expand All @@ -38,4 +38,5 @@ about:

extra:
recipe-maintainers:
- isuruf
- saraedum

0 comments on commit b35b2a1

Please sign in to comment.