wok view xvidcore/receipt @ rev 22825

Up rage (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 07 12:27:53 2020 +0100 (2020-02-07)
parents 410afe495014
children 983b132bc56b
line source
1 # SliTaz package receipt.
3 PACKAGE="xvidcore"
4 VERSION="1.3.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="XviD, a high performance and quality MPEG-4 video de- and encoding solution."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xvid.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
14 BUILD_DEPENDS="yasm"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/build/generic
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cd $fs/usr/lib
37 _mylib=$(basename libxvidcore.so.*)
38 ln -sf ${_mylib} libxvidcore.so.4
39 ln -sf ${_mylib} libxvidcore.so
40 }