[packages/ocaml-labltk] - up to 8.06.10
baggins
baggins at pld-linux.org
Thu Mar 18 09:21:00 CET 2021
commit 758f9fc92dc1022302017c8613a2d6914cbd7676
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 18 09:20:41 2021 +0100
- up to 8.06.10
ocaml-labltk.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-labltk.spec b/ocaml-labltk.spec
index e396a3c..148a3fd 100644
--- a/ocaml-labltk.spec
+++ b/ocaml-labltk.spec
@@ -10,15 +10,15 @@
Summary: Runtime for LablTk library
Summary(pl.UTF-8): Środowisko uruchomieniowe dla biblioteki LablTk
Name: ocaml-labltk
-Version: 8.06.2
+Version: 8.06.10
Release: 1
Epoch: 1
License: LGPL v2 with linking exception
Group: Libraries
-Source0: https://forge.ocamlcore.org/frs/download.php/1628/labltk-%{version}.tar.gz
-# Source0-md5: 15020ef74baa688536ce1d38525462f8
+Source0: https://github.com/garrigue/labltk/archive/%{version}/labltk-%{version}.tar.gz
+# Source0-md5: d6b4691bb03b114d45411158143883d7
Patch0: %{name}-CFLAGS.patch
-URL: https://forge.ocamlcore.org/projects/labltk/
+URL: https://github.com/garrigue/labltk
BuildRequires: ocaml >= 1:4.02
BuildRequires: tk-devel >= 8.2
%requires_eq ocaml-runtime
@@ -71,7 +71,7 @@ Przykładowe kody źródłowe w OCamlu dla LablTk.
%build
./configure
-%{__make} -j1 all %{?with_ocaml_opt:allopt} \
+%{__make} -j1 all %{?with_ocaml_opt:opt} \
CCFLAGS="%{rpmcflags} -Wall"
%install
@@ -81,6 +81,7 @@ install -d $RPM_BUILD_ROOT{%{_libdir}/ocaml/stublibs,%{_examplesdir}/%{name}-%{v
%{__make} install \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
LIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
+ STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs \
MANDIR=$RPM_BUILD_ROOT%{_mandir}
cp -r examples* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-labltk.git/commitdiff/758f9fc92dc1022302017c8613a2d6914cbd7676
More information about the pld-cvs-commit
mailing list