wok-6.x view libmpeg2/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents 4904e3d374a9
children 7dd01dedad38
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="http://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 }