wok-current annotate libsdl2-mixer/receipt @ rev 24156
updated cmake (3.15.5 -> 3.22.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 08 09:15:20 2021 +0100 (2021-12-08) |
parents | 5a199adea305 |
children | ede1d184d5c5 |
rev | line source |
---|---|
tcg@17135 | 1 # SliTaz package receipt. |
tcg@17135 | 2 |
tcg@17135 | 3 PACKAGE="libsdl2-mixer" |
Hans-G?nter@21303 | 4 VERSION="2.0.4" |
tcg@17135 | 5 CATEGORY="development" |
tcg@17135 | 6 SHORT_DESC="A multichannel sample and music mixer." |
tcg@17135 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17135 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21303 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" |
Hans-G?nter@21303 | 10 |
Hans-G?nter@21303 | 11 SOURCE="SDL2_mixer" |
tcg@17135 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
tcg@17135 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" |
Hans-G?nter@21303 | 14 |
Hans-G?nter@21303 | 15 DEPENDS="libmad libogg libsdl2 libvorbis" |
Hans-G?nter@21303 | 16 BUILD_DEPENDS="libmad-dev libogg-dev libsdl2 libsdl2-dev libvorbis-dev" |
Hans-G?nter@21303 | 17 |
tcg@17135 | 18 HOST_ARCH="i486 arm" |
tcg@17135 | 19 |
tcg@17135 | 20 # Rules to configure and make the package. |
tcg@17135 | 21 compile_rules() |
tcg@17135 | 22 { |
Hans-G?nter@21303 | 23 ./configure \ |
Hans-G?nter@21303 | 24 --prefix=/usr \ |
Hans-G?nter@21303 | 25 --enable-music-mp3-mad \ |
tcg@17135 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@21303 | 27 make -j 1 && |
Hans-G?nter@21303 | 28 make install |
tcg@17135 | 29 } |
tcg@17135 | 30 |
tcg@17135 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17135 | 32 genpkg_rules() |
tcg@17135 | 33 { |
tcg@17135 | 34 mkdir -p $fs/usr/lib |
tcg@17135 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
tcg@17135 | 36 } |