|
|
|
|
@ -22,6 +22,9 @@
|
|
|
|
|
## SUCH DAMAGE. |
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%{!?with_ex: %define with_ex no} |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: sa |
|
|
|
|
Summary: Socket Abstraction Library |
|
|
|
|
@ -32,7 +35,7 @@ Distribution: OpenPKG [PLUS]
|
|
|
|
|
Group: System |
|
|
|
|
License: MIT/X11-style |
|
|
|
|
Version: 1.0.2 |
|
|
|
|
Release: 20021204 |
|
|
|
|
Release: 20021216 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz |
|
|
|
|
@ -40,8 +43,11 @@ Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, ex |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, ex |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
%if "%{with_ex}" == "yes" |
|
|
|
|
BuildPreReq: ex |
|
|
|
|
%endif |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
|
|
|
|
|
@ -55,7 +61,9 @@ AutoReqProv: no
|
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
%if "%{with_ex}" == "yes" |
|
|
|
|
--with-ex=%{l_prefix} \ |
|
|
|
|
%endif |
|
|
|
|
--disable-shared |
|
|
|
|
%{l_make} %{l_mflags -O} |
|
|
|
|
|
|
|
|
|
|