wok view libav/receipt @ rev 19199
gucharmap: fix packaging
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 09 00:34:10 2016 +0300 (2016-06-09) |
parents | 6350ac2e125f |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libav"
4 VERSION="0.6.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="clone of git://git.libav.org/libav"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="http://www.libav.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/andoma/libav.git"
12 BRANCH="v$VERSION"
14 DEPENDS="libsdl xorg-libXfixes zlib"
15 BUILD_DEPENDS="git coreutils-file-format \
16 libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
17 netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
18 libvpx-dev x264 xvidcore-dev \
19 zlib-dev bzlib binutils "
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --enable-shared \
27 --enable-gpl \
28 --enable-nonfree \
29 --enable-runtime-cpudetect \
30 --disable-doc \
31 --enable-postproc \
32 --enable-avfilter \
33 --enable-avfilter-lavf \
34 --enable-pthreads \
35 --enable-x11grab \
36 --disable-debug \
37 --arch=i486 \
38 --cpu=i486 && \
39 make && \
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/share $fs/usr
50 }