haxe/haxe.spec

changeset 113
29f149b6e2be
parent 112
6052d0605a74
child 114
13f13fb39cf0
equal deleted inserted replaced
0:f5f046d27af1 1:bb158d32fa29
21 ## SUCH DAMAGE. 21 ## SUCH DAMAGE.
22 ## 22 ##
23 23
24 # package version 24 # package version
25 %define V_release 2.02 25 %define V_release 2.02
26 %define V_snapshot 20081125 26 %define V_snapshot 20090130
27 27
28 # package information 28 # package information
29 Name: haxe 29 Name: haxe
30 Summary: Haxe Programming Language 30 Summary: Haxe Programming Language
31 URL: http://haxe.org/ 31 URL: http://haxe.org/
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: EVAL 35 Class: EVAL
36 Group: Language 36 Group: Language
37 License: GPL/BSD 37 License: GPL/BSD
38 Version: %{V_release}.%{V_snapshot} 38 Version: %{V_release}.%{V_snapshot}
39 Release: 20081125 39 Release: 20090106
40 40
41 # list of sources 41 # list of sources
42 Source0: ftp://ftp.openpkg.org/sources/CPY/haxe/haxe-%{V_snapshot}.tar.bz2 42 Source0: ftp://ftp.openpkg.org/sources/CPY/haxe/haxe-%{V_snapshot}.tar.bz2
43 Source1: haxe.sh 43 Source1: haxe.sh
44 Source2: haxe.vim 44 Source2: haxe.vim
69 69
70 %build 70 %build
71 %{l_shtool} subst \ 71 %{l_shtool} subst \
72 -e 's%"/usr/lib/libz.dylib".*"/lib/libz.so.1"%"%{l_prefix}/lib/libz.a"%' \ 72 -e 's%"/usr/lib/libz.dylib".*"/lib/libz.so.1"%"%{l_prefix}/lib/libz.a"%' \
73 haxe/doc/install.ml 73 haxe/doc/install.ml
74 %{l_shtool} subst \
75 -e "s;\(let c_opts = .*-ccopt\);\1 -I %{l_prefix}/include;" \
76 -e "s;\(let c_opts = .* else \"\);\1 -I %{l_prefix}/include;" \
77 haxe/doc/install.ml
74 %{l_prefix}/bin/ocaml haxe/doc/install.ml 78 %{l_prefix}/bin/ocaml haxe/doc/install.ml
75 79
76 %install 80 %install
77 rm -rf $RPM_BUILD_ROOT 81 rm -rf $RPM_BUILD_ROOT
78 %{l_shtool} mkdir -f -p -m 755 \ 82 %{l_shtool} mkdir -f -p -m 755 \

mercurial