wok view xvidcore/receipt @ rev 24502
updated drupal (8.8.1 -> 9.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:12:06 2022 +0100 (2022-02-20) |
parents | 983b132bc56b |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed -e 's|br/>|\n|g;/xvidcore-/!d' | sed '/tar..z/!d;s|.*xvidcore-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/build/generic
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cd $fs/usr/lib
44 _mylib=$(basename libxvidcore.so.*)
45 ln -sf ${_mylib} libxvidcore.so.4
46 ln -sf ${_mylib} libxvidcore.so
47 }