Receipt for package "mpg123"
# SliTaz package receipt. PACKAGE="mpg123" VERSION="1.29.3" CATEGORY="multimedia" SHORT_DESC="Command line audio player and streamer." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://www.mpg123.de/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="${WEB_SITE}download/$TARBALL" DEPENDS="alsa-lib audiofile libltdl" BUILD_DEPENDS="alsa-lib-dev audiofile-dev" HOST_ARCH="i486 arm x86_64" # Arch optimisation case "$ARCH" in (i486) ARCH_ARGS="--with-cpu=i486" ;; x86_64) ARCH_ARGS="--with-cpu=x86-64" ;; (arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;; esac # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --with-default-audio=alsa \ $CONFIGURE_ARGS \ ${ARCH_ARGS} && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib cook_copy_folders bin # ARM if [ -d "$install/usr/lib/mpg123" ] then cp -a $install/usr/lib/mpg123 $fs/usr/lib #mpg123 need *.la file to work #find $fs/usr/lib -name "*.la" -exec rm -f {} \; fi # Needed to work!!! Dont remove cp $install/usr/lib/libmpg123.la $fs/usr/lib }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)