wok view libmad/receipt @ rev 25678

Patch ghostscript CVE-2023-36664
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 08 14:12:03 2024 +0100 (5 months ago)
parents ee53899c6189
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmad"
4 VERSION="0.15.1b"
5 CATEGORY="multimedia"
6 SHORT_DESC="MAD is a high-quality MPEG audio decoder."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.underbit.com/products/mad/"
11 WGET_URL="$SF_MIRROR/mad/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://sourceforge.net/projects/mad/files/libmad/ 2>/dev/null | \
18 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i '/-fforce-mem/d' ./configure
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }