wok-next view xvidcore/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
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="https://www.xvid.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/xvid.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
15 BUILD_DEPENDS="yasm"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 cd build/generic
20 sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
25 make DESTDIR=$install install || return 1
27 find $install/usr/lib/ -name 'libxvidcore.so.*' -type f -exec chmod -v 755 '{}' \;
29 mkdir -p $install/usr/share/doc/xvidcore-$VERSION/examples
30 install -v -m644 ../../doc/* $install/usr/share/doc/xvidcore-$VERSION
31 install -v -m644 ../../examples/* \
32 $install/usr/share/doc/xvidcore-$VERSION/examples
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 xvidcore) copy @std;;
38 *-dev) copy *.h;;
39 esac
40 }