wok-next view mpg123/receipt @ rev 20764
Up cookutils (1064), gifsicle (1.91), zopfli (1.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 00:13:23 2018 +0300 (2018-06-06) |
parents | 9e5dca6702bf |
children | d5aab818505e |
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="pankso@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="mpg123-dev"
17 compile_rules() {
18 case "$ARCH" in
19 i486) ARCH_ARGS="--with-cpu=i486" ;;
20 arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;;
21 esac
23 ./configure \
24 --with-default-audio=alsa \
25 $ARCH_ARGS \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 mpg123)
35 copy @std *.la # la file required to work - don't remove
36 DEPENDS="alsa-lib audiofile libltdl"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }