|
@@ -32,14 +32,15 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
Class: BASE
|
|
|
Group: System
|
|
Group: System
|
|
|
License: MIT/X11-style
|
|
License: MIT/X11-style
|
|
|
-Version: 1.3.2
|
|
|
|
|
-Release: 20051206
|
|
|
|
|
|
|
+Version: 1.4.0
|
|
|
|
|
+Release: 20060115
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
-%option with_dce no
|
|
|
|
|
-%option with_cxx no
|
|
|
|
|
-%option with_perl no
|
|
|
|
|
-%option with_php no
|
|
|
|
|
|
|
+%option with_dce no
|
|
|
|
|
+%option with_cxx no
|
|
|
|
|
+%option with_perl no
|
|
|
|
|
+%option with_php no
|
|
|
|
|
+%option with_pgsql no
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
|
|
@@ -60,6 +61,10 @@ PreReq: perl
|
|
|
BuildPreReq: php, autoconf, libtool
|
|
BuildPreReq: php, autoconf, libtool
|
|
|
PreReq: php
|
|
PreReq: php
|
|
|
%endif
|
|
%endif
|
|
|
|
|
+%if "%{with_pgsql}" == "yes"
|
|
|
|
|
+BuildPreReq: postgresql
|
|
|
|
|
+PreReq: postgresql
|
|
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
|
|
|
|
|
@@ -105,6 +110,9 @@ AutoReqProv: no
|
|
|
%endif
|
|
%endif
|
|
|
%if "%{with_php}" == "yes"
|
|
%if "%{with_php}" == "yes"
|
|
|
--with-php \
|
|
--with-php \
|
|
|
|
|
+%endif
|
|
|
|
|
+%if "%{with_pgsql}" == "yes"
|
|
|
|
|
+ --with-pgsql \
|
|
|
%endif
|
|
%endif
|
|
|
--disable-shared
|
|
--disable-shared
|
|
|
%{l_make} %{l_mflags -O}
|
|
%{l_make} %{l_mflags -O}
|