[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: [Ltib] create packages
From: |
Luigi Grilli |
Subject: |
R: [Ltib] create packages |
Date: |
Fri, 22 Jan 2010 09:46:54 +0100 |
Did you modified also the config/userspace/packages.lkc in this way:
config PKG_X264
bool " x264"
help
FFMpeg library used to encode and decode audio and video streams
And the file config/userspace/pkg_map in this:
PKG_X264 = x264
-----Messaggio originale-----
Da: address@hidden [mailto:address@hidden Per conto di Brilliantov Kirill
Vladimirovich
Inviato: venerdì 22 gennaio 2010 7.54
A: address@hidden
Oggetto: [Ltib] create packages
Hello!
I have build ffmpeg with H264 support.
I have reading LtibFaqPackages and copy x264 source in the
/opt/freescale/pkgs, also I creating directory dist/lfs-5.1/x264 with
x264.spec.
Below my spec:
~/FreeScale$ cat dist/lfs-5.1/x264/x264.spec
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : free library for encoding H264/AVC video streams
Name : x264
Version : 20100110-2245
Release : 1
License : GPL
Vendor : Freescale
Packager : Brilliantov Kirill
Group : Applications
URL : http://www.videolan.org/developers/x264.html
Source : %{name}-snapshot-%{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}/*
ls -l /opt/freescale/pkgs/x264-snapshot-20100110-2245.tar.bz2
-rw-r--r-- 1 kirill kirill 388095 2010-01-21 17:01
/opt/freescale/pkgs/x264-snapshot-20100110-2245.tar.bz2
When I run ./ltib -m prep -p x264:
~/FreeScale$ ./ltib -m prep -p x264
Cannot find spec file that contains the package name x264.
If necessary please give the whole spec file name (with the .spec
extension).
traceback:
main::mk_buildlist:1906
main::validate_sn:1951
main::build_rpm:719
main::f_prep:983
main:553
Exiting on error or interrupt
How can I solve this problem?
Thank you and excuse me for my bad english.
--
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru http://www.bestdvr.ru
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib