|
|
|
@ -32,8 +32,8 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [REL] |
|
|
|
|
Group: Language |
|
|
|
|
License: GPL |
|
|
|
|
Version: 2.2.6 |
|
|
|
|
Release: 20020206 |
|
|
|
|
Version: 2.2.7 |
|
|
|
|
Release: 20020315 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/indent/indent-%{version}.tar.gz |
|
|
|
@ -41,7 +41,7 @@ Source0: ftp://ftp.gnu.org/gnu/indent/indent-%{version}.tar.gz
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, gettext, libiconv |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206 |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
@ -58,6 +58,9 @@ AutoReqProv: no
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
CPPFLAGS="-I%{l_prefix}/include" \ |
|
|
|
|
LDFLAGS="-L%{l_prefix}/lib" \ |
|
|
|
|
LIBS="-lintl -liconv" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--disable-nls |
|
|
|
|