|
|
|
|
@ -21,6 +21,10 @@
|
|
|
|
|
## SUCH DAMAGE. |
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 1.0.0 |
|
|
|
|
%define V_dist 1.0.0 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: kotlin |
|
|
|
|
Summary: Kotlin Programming Language |
|
|
|
|
@ -31,16 +35,16 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Language |
|
|
|
|
License: BSD |
|
|
|
|
Version: 0.4.297 |
|
|
|
|
Release: 20141008 |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20160227 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://github.com/downloads/JetBrains/kotlin/kotlin-%{version}.zip |
|
|
|
|
Source0: https://github.com/JetBrains/kotlin/releases/download/build-%{V_dist}/kotlin-compiler-%{V_dist}.zip |
|
|
|
|
Source1: kotlinc.sh |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101, java, JAVA-JDK |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101, java, JAVA-JDK |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
Kotlin is a general purpose programming language, which is running |
|
|
|
|
@ -48,9 +52,9 @@ PreReq: OpenPKG, openpkg >= 20100101, java, JAVA-JDK
|
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog kotlin = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = https://github.com/JetBrains/Kotlin/downloads |
|
|
|
|
regex = kotlin-(__VER__)\.zip |
|
|
|
|
version = %{V_dist} |
|
|
|
|
url = http://kotlinlang.org/docs/tutorials/command-line.html |
|
|
|
|
regex = releases/tag/build-(__VER__) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
|