wok-current view libmpeg2/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents 370da83187ab
children 5926178cd6fa
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://libmpeg2.sourceforge.net/"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="mpeg-1 mpeg-2 decoder"
14 DEPENDS="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXext xorg-libXv"
16 BUILD_DEPENDS="glibc-base xorg-libXv-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://libmpeg2.sourceforge.io/downloads.html 2>/dev/null | \
22 sed '/libmpeg2-/!d;s|.*libmpeg2-||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure --prefix=/usr --enable-shared --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib/
41 }