wok-6.x diff xvidcore/receipt @ rev 7632

*-pam: reinstall core package in pre_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 13 12:44:48 2010 +0100 (2010-12-13)
parents
children c87bd29ce293
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xvidcore/receipt	Mon Dec 13 12:44:48 2010 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xvidcore"
     1.7 +VERSION="1.2.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="XviD, a high performance/quality MPEG-4 video de-/encoding solution"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +BUILD_DEPENDS="yasm"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.xvid.org"
    1.14 +WGET_URL="http://downloads.xvid.org/downloads/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $PACKAGE/build/generic
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--mandir=/usr/share/man \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib
    1.32 +	cp -a $PACKAGE/build/generic/_pkg/usr/lib/*.so* $fs/usr/lib
    1.33 +}