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

Up alien 8.89
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 17 21:37:55 2013 +0100 (2013-12-17)
parents 32a88a6f5f4f
children 410afe495014
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"
13 BUILD_DEPENDS="yasm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/build/generic
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cd $fs/usr/lib
33 _mylib=$(basename libxvidcore.so.*)
34 ln -sf ${_mylib} libxvidcore.so.4
35 ln -sf ${_mylib} libxvidcore.so
36 }