wok-next view xvidcore/receipt @ rev 19816

gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 27 00:56:44 2017 +0300 (2017-07-27)
parents 410afe495014
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xvidcore"
4 VERSION="1.3.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xvid.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
15 BUILD_DEPENDS="yasm"
16 SPLIT="xvidcore-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/xvid.html
22 cd build/generic &&
23 sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
27 make DESTDIR=$install install &&
29 find $install/usr/lib/ -name 'libxvidcore.so.*' -type f -exec chmod -v 755 '{}' \; &&
31 mkdir -p $install/usr/share/doc/xvidcore-$VERSION/examples &&
32 install -v -m644 ../../doc/* $install/usr/share/doc/xvidcore-$VERSION &&
33 install -v -m644 ../../examples/* \
34 $install/usr/share/doc/xvidcore-$VERSION/examples
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 xvidcore) copy @std;;
42 *-dev) copy *.h;;
43 esac
44 }