wok annotate libsdl-mixer/receipt @ rev 25320
updated sqlite, sqlite-dev, libsqlite and libsqlite-tcl (3.32.1 -> 3.39.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 07:37:22 2022 +0100 (2022-07-22) |
parents | a57602119b79 |
children |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="libsdl-mixer" |
pascal@1136 | 4 SOURCE="SDL_mixer" |
Hans-G?nter@21291 | 5 VERSION="1.2.12" |
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" |
Hans-G?nter@21291 | 10 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/" |
Hans-G?nter@21291 | 11 |
pascal@1136 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1136 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL" |
pascal@14718 | 14 |
pankso@3425 | 15 DEPENDS="libsdl libmad libvorbis libogg" |
Hans-G?nter@21291 | 16 BUILD_DEPENDS="alsa-lib-dev libmad-dev libogg-dev libsdl libsdl-dev \ |
Hans-G?nter@21291 | 17 libvorbis-dev" |
Hans-G?nter@21291 | 18 |
Hans-G?nter@21291 | 19 HOST_ARCH="i486 arm" |
pascal@1136 | 20 |
pascal@24447 | 21 # What is the latest version available today? |
pascal@24447 | 22 current_version() |
pascal@24447 | 23 { |
pascal@24447 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 25 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 26 } |
pascal@24447 | 27 |
pascal@1136 | 28 # Rules to configure and make the package. |
pascal@1136 | 29 compile_rules() |
pascal@1136 | 30 { |
Hans-G?nter@21291 | 31 ./configure \ |
Hans-G?nter@21291 | 32 --prefix=/usr \ |
Hans-G?nter@21291 | 33 --enable-music-mp3-mad \ |
pascal@2476 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21291 | 35 make -j 1 && |
Hans-G?nter@21291 | 36 make install |
pascal@1136 | 37 } |
pascal@1136 | 38 |
pascal@1136 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 40 genpkg_rules() |
pascal@1136 | 41 { |
pascal@1136 | 42 mkdir -p $fs/usr/lib |
pascal@14718 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1136 | 44 } |