wok-next view mpg123/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }