wok view libsdl-mixer/receipt @ rev 24695

advancecomp: CVE-2019-8383 & CVE-2019-9210
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 15:13:28 2022 +0000 (2022-03-13)
parents a57602119b79
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-mixer"
4 SOURCE="SDL_mixer"
5 VERSION="1.2.12"
6 CATEGORY="development"
7 SHORT_DESC="A multichannel sample and music mixer."
8 MAINTAINER="chadi.elahmad@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
15 DEPENDS="libsdl libmad libvorbis libogg"
16 BUILD_DEPENDS="alsa-lib-dev libmad-dev libogg-dev libsdl libsdl-dev \
17 libvorbis-dev"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --enable-music-mp3-mad \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }