[packages/slang] - added oniguruma support - rel 6
baggins
baggins at pld-linux.org
Sun May 11 19:01:20 CEST 2014
commit e30a843e8bb51d6814750a6af8eb98cd981e9f2d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 11 19:01:03 2014 +0200
- added oniguruma support
- rel 6
slang.spec | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/slang.spec b/slang.spec
index b1d2f5f..f918f8d 100644
--- a/slang.spec
+++ b/slang.spec
@@ -1,6 +1,7 @@
#
# Conditional build:
%bcond_without png # build slang without PNG module
+%bcond_without onig # build slang without Oniguruma module
#
Summary: Shared library for C like extension language
Summary(de.UTF-8): Shared Library für eine C-artige Sprache
@@ -13,7 +14,7 @@ Summary(tr.UTF-8): C benzeri dil için ortak kitaplık
Summary(uk.UTF-8): Бібліотека спільного користування C-подібної мови розширення S-Lang
Name: slang
Version: 2.2.4
-Release: 5
+Release: 6
Epoch: 1
License: GPL v2+
Group: Libraries
@@ -23,6 +24,7 @@ Patch0: %{name}-nodevel.patch
Patch1: %{name}-remove_unused_terminfo_paths.patch
URL: http://www.s-lang.org/
%{?with_png:BuildRequires: libpng-devel}
+%{?with_onig:BuildRequires: oniguruma-devel}
BuildRequires: pcre-devel
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Obsoletes: libslang1
@@ -235,6 +237,13 @@ Moduł PCRE dla Slanga.
--with-pcre \
--with-pcreinc=/usr/include/pcre \
--with-pcrelib=%{_libdir} \
+%if %{with onig}
+ --with-onig \
+ --with-oniginc=/usr/include \
+ --with-oniglib=%{_libdir} \
+%else
+ --without-onig
+%endif
%if %{with png}
--with-png \
--with-pnginc=/usr/include/libpng \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/slang.git/commitdiff/e30a843e8bb51d6814750a6af8eb98cd981e9f2d
More information about the pld-cvs-commit
mailing list