wok-next annotate libsdl-mixer/receipt @ rev 18697

Fix pilot-link(-dev) packaging
author Lucas Levrel <llevrel@yahoo.fr>
date Mon Dec 14 09:55:05 2015 +0100 (2015-12-14)
parents 4cd474907d60
children 595097cb4e40
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="libsdl-mixer"
pascal@1136 4 SOURCE="SDL_mixer"
slaxemulator@6198 5 VERSION="1.2.11"
pascal@1136 6 CATEGORY="development"
pascal@1136 7 SHORT_DESC="A multichannel sample and music mixer."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@14996 9 LICENSE="LGPL2.1"
pascal@1136 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1136 11 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
pascal@1136 12 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
pankso@16237 13 HOST_ARCH="i486 arm"
pascal@14718 14
pankso@3425 15 DEPENDS="libsdl libmad libvorbis libogg"
al@18580 16 BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \
al@18580 17 alsa-lib-dev"
pascal@1136 18
pascal@1136 19 # Rules to configure and make the package.
pascal@1136 20 compile_rules()
pascal@1136 21 {
pascal@1136 22 ./configure \
pascal@1136 23 --prefix=/usr \
pascal@1136 24 --enable-music-mp3-mad \
pascal@2476 25 $CONFIGURE_ARGS &&
pankso@16237 26 make && make install
pascal@1136 27 }
pascal@1136 28
pascal@1136 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 30 genpkg_rules()
pascal@1136 31 {
pascal@1136 32 mkdir -p $fs/usr/lib
pascal@14718 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1136 34 }