Thank you, but I already red it. I create file with:
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Â
Â
Summary       : PostgreSQL for arm
Name           : postgresql
Version       : 9.3.5
Release       : 1
License       :
Vendor         : PostgreSQL
Packager       :
Group         : System Environment/Libraries
URLÂ Â Â Â Â Â Â Â Â Â Â :Â http://
Source         : %{name}-%{version}.tar.bz2
BuildRoot     : %{_tmppath}/%{name}
Prefix         : %{pfx}
Â
Â
%Description
%{summary}
Â
Â
%Prep
%setup
Â
Â
%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make
Â
Â
%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
Â
Â
%Clean
rm -rf $RPM_BUILD_ROOT
Â
Â
%Files
%defattr(-,root,root)
%{pfx}/*
but I get error, when run ./ltib -p postgresql.spec
checking for zic... no
configure: error:
When cross-compiling, either use the option --with-system-tzdata to use
existing time-zone data, or set the environment variable ZIC to a zic
program to use during the build.
error: Bad exit status from /home/ubuntu/Projects/TionPro28/ltib/ltib/tmp/rpm-tmp.2856 (%build)
I hope this help you http://www.ltib.org/documentation-LtibFaq#ref_89
Post by ÐлекÑÐ°Ð½Ð´Ñ ÐлÑÑ
овHello, I have a problem in LTIB. I need to install PostgreSQL on ARMv5
with tcp/ip access. I'm trying to do it in LTIB. I already downloaded
sources and put it in rpm/SOURCES. And now I need to create a
postgresql.spec file. Could you help me in it, because I have not
enought experience in it? Thank you in advance.
With best regards,
Alexandr Glukhov
_______________________________________________
LTIB home page:Â http://ltib.org
Ltib mailing list
 https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page:Â http://ltib.org
Ltib mailing list
https://lists.nongnu.org/mailman/listinfo/ltib