[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] add new package
From: |
hong zhang |
Subject: |
[Ltib] add new package |
Date: |
Sat, 27 Oct 2007 17:03:43 -0700 (PDT) |
Stuart,
I want to add libraries such as DFBTerm.Build
complains "cannot find spec file"
1. Download DFBTerm-0.8.0.tar.gz.
2. copy it to /opt/freescale/pkgs
3. create dist/lfs-5.1/DFBTerm/DFBTerm.spec.
4. ./ltib -m prep -p DFBTerm
Cannot find spec file that contains the package
name DFBTerm.
If necessary please give the whole spec file name
(with the .spec extension).
Exiting on error or interrupt
Following is content of DFBTerm.spec.
*************************************************
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : Some simple but meaningful text
Name : DFBTerm
Version : 0.8.0
Release : 1
License : LGPL
Vendor : Freescale
Packager : xxxx
Group : xxxx
Source : %{name}-%{version}.tar.gz
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}/*
*************************************************
What is wrong?
/opt/freescale/pkgs/DFBTerm-0.8.0.tar.gz is there.
--henry
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com