wok-current annotate ffmpeg-svn-dev/receipt @ rev 6654
Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 11 02:17:02 2010 +0000 (2010-10-11) |
parents | f6f48fe3890b |
children | b206bd64aef7 |
rev | line source |
---|---|
jozee@5305 | 1 # SliTaz package receipt. |
jozee@5305 | 2 |
jozee@5305 | 3 PACKAGE="ffmpeg-svn-dev" |
jozee@5569 | 4 VERSION="23117" |
jozee@5305 | 5 CATEGORY="development" |
jozee@5305 | 6 SHORT_DESC="Record, convert and stream audio and video, development files." |
jozee@5305 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@5305 | 8 WEB_SITE="http://ffmpeg.org/" |
jozee@5305 | 9 WANTED="ffmpeg-svn" |
jozee@5305 | 10 PROVIDE="ffmpeg-dev" |
jozee@5305 | 11 |
jozee@5305 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5305 | 13 genpkg_rules() |
jozee@5305 | 14 { |
jozee@5305 | 15 mkdir -p $fs/usr/lib |
jozee@5305 | 16 cp -a $_pkg/usr/include $fs/usr |
jozee@5305 | 17 cp -a $_pkg/usr/lib/*.a $fs/usr/lib |
jozee@5305 | 18 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
jozee@5305 | 19 |
jozee@5305 | 20 # pixfmt.h file in svn version: Kino hack |
jozee@5305 | 21 sed -i "s/PIX_FMT_YUYV422,/PIX_FMT_YUYV422, \n PIX_FMT_YUV422,/" $fs/usr/include/libavutil/pixfmt.h |
jozee@5305 | 22 } |
jozee@5305 | 23 |