|
@@ -32,8 +32,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [REL]
|
|
Distribution: OpenPKG [REL]
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 2.0.7
|
|
|
|
|
-Release: 20020206
|
|
|
|
|
|
|
+Version: 2.0.8
|
|
|
|
|
+Release: 20020217
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.engelschall.com/sw/wml/wml-%{version}.tar.gz
|
|
Source0: ftp://ftp.engelschall.com/sw/wml/wml-%{version}.tar.gz
|
|
@@ -41,7 +41,7 @@ Source0: ftp://ftp.engelschall.com/sw/wml/wml-%{version}.tar.gz
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gcc
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, perl, gcc, png, zlib
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, perl
|
|
PreReq: OpenPKG, openpkg >= 20020206, perl
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -67,6 +67,9 @@ AutoReqProv: no
|
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
|
|
+ CPPFLAGS="-I%{l_prefix}/include" \
|
|
|
|
|
+ LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
|
|
+ LIBS="-lpng -lz -lm" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--with-perl=%{l_prefix}/bin/perl
|
|
--with-perl=%{l_prefix}/bin/perl
|