wok-next view mpg123/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 556349764d57
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpg123"
4 VERSION="1.19.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.mpg123.de/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.mpg123.de/download/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev audiofile-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 case "$ARCH" in
19 i486) ARCH_ARGS="--with-cpu=i486";;
20 esac
22 ./configure \
23 --with-default-audio=alsa \
24 $ARCH_ARGS \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 mpg123)
34 copy @std *.la # la file required to work - don't remove
35 DEPENDS="alsa-lib audiofile libltdl"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }