wok-6.x diff mpg123/receipt @ rev 23593
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:15:24 2020 +0100 (2020-04-08) |
parents | 01c24abc9372 |
children | 83b97236db32 |
line diff
1.1 --- a/mpg123/receipt Mon Oct 29 15:31:14 2018 +0100 1.2 +++ b/mpg123/receipt Wed Apr 08 11:15:24 2020 +0100 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mpg123" 1.7 -VERSION="1.25.10" 1.8 +VERSION="1.25.13" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Command line audio player and streamer" 1.11 +SHORT_DESC="Command line audio player and streamer." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 +WEB_SITE="https://www.mpg123.de/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.mpg123.de/" 1.18 -WGET_URL="http://www.mpg123.de/download/$TARBALL" 1.19 -HOST_ARCH="i486 arm" 1.20 +WGET_URL="${WEB_SITE}download/$TARBALL" 1.21 1.22 DEPENDS="alsa-lib audiofile libltdl" 1.23 BUILD_DEPENDS="alsa-lib-dev audiofile-dev" 1.24 1.25 +HOST_ARCH="i486 arm" 1.26 + 1.27 # Arch optimisation 1.28 case "$ARCH" in 1.29 i486) ARCH_ARGS="--with-cpu=i486" ;; 1.30 @@ -23,24 +25,30 @@ 1.31 # Rules to configure and make the package. 1.32 compile_rules() 1.33 { 1.34 - ./configure \ 1.35 - --with-default-audio=alsa \ 1.36 - $CONFIGURE_ARGS ${ARCH_ARGS} && 1.37 - make && make install 1.38 + ./configure \ 1.39 + --with-default-audio=alsa \ 1.40 + $CONFIGURE_ARGS \ 1.41 + ${ARCH_ARGS} && 1.42 + make && 1.43 + make install 1.44 } 1.45 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 mkdir -p $fs/usr/lib 1.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 - cp -a $install/usr/bin $fs/usr 1.52 + 1.53 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.54 + cp -a $install/usr/bin $fs/usr 1.55 + 1.56 # ARM 1.57 - if [ -d "$install/usr/lib/mpg123" ]; then 1.58 + if [ -d "$install/usr/lib/mpg123" ] 1.59 + then 1.60 cp -a $install/usr/lib/mpg123 $fs/usr/lib 1.61 #mpg123 need *.la file to work 1.62 #find $fs/usr/lib -name "*.la" -exec rm -f {} \; 1.63 fi 1.64 + 1.65 # Needed to work!!! Dont remove 1.66 - cp $install/usr/lib/libmpg123.la $fs/usr/lib 1.67 + cp $install/usr/lib/libmpg123.la $fs/usr/lib 1.68 }