wok-next view libmpeg2/receipt @ rev 21601

updated drupal (7.26 -> 9.0.1)
author Hans-G?nter Theisgen
date Wed Jun 24 15:13:05 2020 +0100 (2020-06-24)
parents d5aab818505e
children
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 libx11-dev libice-dev libxext-dev \
16 libsm-dev 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="libice libsm libx11 libxext libxv"
38 TAGS="mpeg-1 mpeg-2 decoder"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }