wok view mpg123/receipt @ rev 20942

updated frei0r-plugins and frei0r-plugins-dev (1.3 -> 1.6.1)
author Hans-G?nter Theisgen
date Sun Mar 03 11:08:56 2019 +0100 (2019-03-03)
parents 838dd1108a60
children 506235486b3b
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.25.10"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpg123.de/"
11 WGET_URL="http://www.mpg123.de/download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib audiofile libltdl"
15 BUILD_DEPENDS="alsa-lib-dev audiofile-dev"
17 # Arch optimisation
18 case "$ARCH" in
19 i486) ARCH_ARGS="--with-cpu=i486" ;;
20 arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --with-default-audio=alsa \
28 $CONFIGURE_ARGS ${ARCH_ARGS} &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 # ARM
39 if [ -d "$install/usr/lib/mpg123" ]; then
40 cp -a $install/usr/lib/mpg123 $fs/usr/lib
41 #mpg123 need *.la file to work
42 #find $fs/usr/lib -name "*.la" -exec rm -f {} \;
43 fi
44 # Needed to work!!! Dont remove
45 cp $install/usr/lib/libmpg123.la $fs/usr/lib
46 }