wok-next view libsdl-mixer/receipt @ rev 19122

Up slitaz-base-files(305)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 09 13:55:20 2016 +0300 (2016-05-09)
parents 4cd474907d60
children 595097cb4e40
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-mixer"
4 SOURCE="SDL_mixer"
5 VERSION="1.2.11"
6 CATEGORY="development"
7 SHORT_DESC="A multichannel sample and music mixer."
8 MAINTAINER="chadi.elahmad@gmail.com"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libsdl libmad libvorbis libogg"
16 BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \
17 alsa-lib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --enable-music-mp3-mad \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }