wok annotate libmpeg2/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 4904e3d374a9 |
children | 7dd01dedad38 |
rev | line source |
---|---|
jozee@2943 | 1 # SliTaz package receipt. |
jozee@2943 | 2 |
jozee@2943 | 3 PACKAGE="libmpeg2" |
jozee@2943 | 4 VERSION="0.5.1" |
jozee@2943 | 5 CATEGORY="multimedia" |
jozee@2943 | 6 SHORT_DESC="library for decoding MPEG-1 and MPEG-2 video streams" |
jozee@2943 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
jozee@2943 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2943 | 10 WEB_SITE="http://libmpeg2.sourceforge.net/" |
jozee@2943 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@14528 | 12 TAGS="mpeg-1 mpeg-2 decoder" |
jozee@2943 | 13 |
pascal@14714 | 14 DEPENDS="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ |
pascal@14714 | 15 xorg-libXdmcp xorg-libXext xorg-libXv" |
pascal@14714 | 16 BUILD_DEPENDS="glibc-base xorg-libXv-dev" |
pascal@14714 | 17 |
pascal@24361 | 18 # What is the latest version available today? |
pascal@24361 | 19 current_version() |
pascal@24361 | 20 { |
pascal@24361 | 21 wget -O - https://libmpeg2.sourceforge.io/downloads.html 2>/dev/null | \ |
pascal@24361 | 22 sed '/libmpeg2-/!d;s|.*libmpeg2-||;s|<.*||;q' |
pascal@24361 | 23 } |
pascal@24361 | 24 |
jozee@2943 | 25 # Rules to configure and make the package. |
jozee@2943 | 26 compile_rules() |
jozee@2943 | 27 { |
jozee@2943 | 28 cd $src |
gokhlayeh@11573 | 29 ./configure --prefix=/usr --enable-shared --disable-static \ |
gokhlayeh@11573 | 30 $CONFIGURE_ARGS && |
pascal@2964 | 31 make && |
pascal@10512 | 32 make DESTDIR=$DESTDIR install |
jozee@2943 | 33 } |
jozee@2943 | 34 |
jozee@2943 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2943 | 36 genpkg_rules() |
jozee@2943 | 37 { |
gokhlayeh@11573 | 38 mkdir -p $fs/usr/lib |
pascal@14714 | 39 cp -a $install/usr/bin $fs/usr |
pascal@14714 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
jozee@2943 | 41 } |