wok view xvidcore/receipt @ rev 18106

Up pam (1.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 11:31:30 2015 +0200 (2015-06-01)
parents eb8067417980
children af2cd2c74a98
line source
1 # SliTaz package receipt.
3 PACKAGE="xvidcore"
4 VERSION="1.3.2"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xvid.org"
11 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="yasm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/build/generic
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cd $fs/usr/lib
34 _mylib=$(basename libxvidcore.so.*)
35 ln -sf ${_mylib} libxvidcore.so.4
36 ln -sf ${_mylib} libxvidcore.so
37 }