wok-current view xvidcore/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | f6fea7bf06a8 |
children | cca03eafc9b1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xvidcore"
4 VERSION="1.2.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=$PWD/_pkg 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 $src/build/generic/_pkg/usr/lib/*.so* $fs/usr/lib
30 }