wok-current view xvidcore/receipt @ rev 15209

Add udftools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 10 14:01:16 2013 +0000 (2013-09-10)
parents 0d06b2cd33d0
children eb8067417980
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 BUILD_DEPENDS="yasm"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xvid.org"
11 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/build/generic
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cd $fs/usr/lib
31 _mylib=$(basename libxvidcore.so.*)
32 ln -sf ${_mylib} libxvidcore.so.4
33 ln -sf ${_mylib} libxvidcore.so
34 }