|
|
@@ -37,7 +37,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Terminal
|
|
|
License: BSD
|
|
|
Version: %{V_maj}.%{V_min}
|
|
|
-Release: 20030419
|
|
|
+Release: 20030707
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://invisible-island.net/cdk/cdk-%{V_maj}-%{V_min}.tgz
|
|
|
@@ -45,8 +45,10 @@ Source0: ftp://invisible-island.net/cdk/cdk-%{V_maj}-%{V_min}.tgz
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, ncurses
|
|
|
-PreReq: OpenPKG, openpkg >= 20020206, ncurses
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206
|
|
|
+PreReq: OpenPKG, openpkg >= 20020206
|
|
|
+BuildPreReq: ncurses
|
|
|
+PreReq: ncurses
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -60,11 +62,11 @@ AutoReqProv: no
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/ncurses" \
|
|
|
- LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
+ CPPFLAGS="%{l_cppflags ncurses}"
|
|
|
+ LDFLAGS="%{l_ldflags}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
- --with-ncurses \
|
|
|
+ --with-ncurses=%{l_prefix} \
|
|
|
--without-x
|
|
|
%{l_make} %{l_mflags -O}
|
|
|
|