wok view mpg123/receipt @ rev 16479

xpain: fix libtool
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 03:20:26 2014 +0200 (2014-04-23)
parents b5fd8eaca2f3
children ccb0dea76bf8
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.18.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpg123.de/"
11 WGET_URL="http://www.mpg123.de/download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --with-default-audio=alsa \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 # ARM
33 if [ -d "$install/usr/lib/mpg123" ]; then
34 cp -a $install/usr/lib/mpg123 $fs/usr/lib
35 find $fs/usr/lib -name "*.la" -exec rm -f {} \;
36 fi
37 }