wok-next view libmpeg2/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents f48456621a9d
children 5669e8b3be70
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://libmpeg2.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 }