wok-next view libmpeg2/receipt @ rev 20827
new tor: 0.3.3.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Jun 14 10:13:14 2018 +0000 (2018-06-14) |
parents | be4a09f51254 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmpeg2"
4 VERSION="0.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Decoding MPEG-1 and MPEG-2 video streams"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://libmpeg2.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libmpeg2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://libmpeg2.sourceforge.net/files/$TARBALL" # no $SF_MIRROR
15 BUILD_DEPENDS="gfortran xorg-libX11-dev xorg-libICE-dev xorg-libXext-dev \
16 xorg-libSM-dev xorg-libXv-dev"
17 SPLIT="libmpeg2-dev"
19 compile_rules() {
20 sed -i 's/static const/static/' libmpeg2/idct_mmx.c &&
22 ./configure \
23 --enable-shared \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 cook_pick_docs README doc/libmpeg2.txt
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libmpeg2)
36 copy @std
37 DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXv"
38 TAGS="mpeg-1 mpeg-2 decoder"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }