|
|
|
|
@ -32,8 +32,11 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [EVAL] |
|
|
|
|
Group: Language |
|
|
|
|
License: GPL |
|
|
|
|
Version: 0.5.4 |
|
|
|
|
Release: 20030330 |
|
|
|
|
Version: 0.5.6 |
|
|
|
|
Release: 20030506 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_threads no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.southern-storm.com.au/download/pnet-%{version}.tar.gz |
|
|
|
|
@ -45,6 +48,9 @@ BuildPreReq: OpenPKG, openpkg >= 20030103, gcc, make, flex, bison, treecc
|
|
|
|
|
PreReq: OpenPKG, openpkg >= 20030103 |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
%if "%{with_threads}" == "yes" |
|
|
|
|
Conflicts: pth::with_pthread = yes |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
The goal of this project is to build a suite of free software |
|
|
|
|
@ -66,6 +72,11 @@ AutoReqProv: no
|
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
%if "%{with_threads}" == "yes" |
|
|
|
|
--enable-threads=posix \ |
|
|
|
|
%else |
|
|
|
|
--disable-threads \ |
|
|
|
|
%endif |
|
|
|
|
--disable-shared |
|
|
|
|
%{l_make} %{l_mflags -O} |
|
|
|
|
|
|
|
|
|
|