wok-next view libmpeg2/receipt @ rev 13175
atk: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 30 10:59:32 2012 +0200 (2012-07-30) |
parents | ca3a94ba488f |
children | 9b6bb1d6033f |
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="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
9 xorg-libXdmcp xorg-libXext xorg-libXv"
10 BUILD_DEPENDS="glibc-base xorg-libXv-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://libmpeg2.sourceforge.net/"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
14 TAGS="mpeg-1 mpeg-2 decode"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --enable-shared --disable-static \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
32 }