wok-6.x view libsdl2-mixer/receipt @ rev 18158

Up: cookutils (744): cook pkgdb: report absents, remove duplicates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 22 12:21:26 2015 +0300 (2015-06-22)
parents
children 4edee500eec9
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-mixer"
4 SOURCE="SDL2_mixer"
5 VERSION="2.0.0"
6 CATEGORY="development"
7 SHORT_DESC="A multichannel sample and music mixer."
8 MAINTAINER="tcg.thegamer@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="libsdl2 libmad libvorbis libogg"
16 BUILD_DEPENDS="libsdl2 libsdl2-dev libmad-dev libvorbis-dev libogg-dev "
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --enable-music-mp3-mad \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }