wok view libmpeg2/receipt @ rev 2945

Update: BUILD_DEPENDS libmpeg2
author Rohit Joshi <jozee@slitaz.org>
date Thu May 07 22:43:36 2009 +0000 (2009-05-07)
parents 127bdbc176d3
children f06cae48d68d
line source
1 # SliTaz package receipt.
3 PACKAGE="libmpeg2"
4 VERSION="0.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="library for decoding MPEG-1 and MPEG-2 video streams"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="glibc-base libiconv libiconv-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libmpeg2.sourceforge.net/"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
13 TAGS="mpeg-1 mpeg-2 decode"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --enable-shared --disable-static &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
30 }