|
|
|
|
@ -22,9 +22,9 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 1.8.0 |
|
|
|
|
%define V_typescript 1.8.0 |
|
|
|
|
%define V_typescript_snap 20160515 |
|
|
|
|
%define V_opkg 1.8.10 |
|
|
|
|
%define V_typescript 1.8.10 |
|
|
|
|
%define V_typescript_snap 20160526 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: typescript |
|
|
|
|
@ -37,7 +37,7 @@ Class: EVAL
|
|
|
|
|
Group: Language |
|
|
|
|
License: Apache |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20160515 |
|
|
|
|
Release: 20160526 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/typescript/typescript-%{V_typescript}-%{V_typescript_snap}.tar.gz |
|
|
|
|
@ -53,9 +53,14 @@ PreReq: OpenPKG, openpkg >= 20100101, node
|
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog typescript = { |
|
|
|
|
version = %{V_typescript}-%{V_typescript_snap} |
|
|
|
|
version = %{V_typescript} |
|
|
|
|
url = https://github.com/Microsoft/TypeScript/releases |
|
|
|
|
regex = (__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
prog typescript:snapshot = { |
|
|
|
|
version = %{V_typescript_snap} |
|
|
|
|
url = http://download.openpkg.org/components/versioned/typescript/ |
|
|
|
|
regex = typescript-(__VER__)-(\d+)\.tar\.gz |
|
|
|
|
regex = typescript-__VER__-(\d+)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
|