wok-6.x view xvidcore/receipt @ rev 24313

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 21 10:59:24 2022 +0000 (2022-01-21)
parents af2cd2c74a98
children 318701ea94ca
line source
1 # SliTaz package receipt.
3 PACKAGE="xvidcore"
4 VERSION="1.3.7"
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="https://downloads.xvid.com/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
35 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 }