wok-current annotate mpg123/receipt @ rev 16111
Why on ARM mpg123 install plugins in /usr/lib/mpg123 but not on i486 but it works...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 20 23:46:48 2014 +0100 (2014-03-20) |
parents | b5fd8eaca2f3 |
children | ccb0dea76bf8 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
pankso@16026 | 4 VERSION="1.18.1" |
pankso@177 | 5 CATEGORY="multimedia" |
paul@4627 | 6 SHORT_DESC="Command line audio player and streamer" |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 10 WEB_SITE="http://www.mpg123.de/" |
pankso@32 | 11 WGET_URL="http://www.mpg123.de/download/$TARBALL" |
pankso@16110 | 12 HOST_ARCH="i486 arm" |
pankso@32 | 13 |
pankso@16026 | 14 DEPENDS="alsa-lib" |
pankso@16026 | 15 BUILD_DEPENDS="alsa-lib-dev" |
pascal@14996 | 16 |
pankso@32 | 17 # Rules to configure and make the package. |
pankso@32 | 18 compile_rules() |
pankso@32 | 19 { |
pankso@191 | 20 ./configure \ |
paul@4633 | 21 --with-default-audio=alsa \ |
pascal@2464 | 22 $CONFIGURE_ARGS && |
pankso@16111 | 23 make && make install |
pankso@32 | 24 } |
pankso@32 | 25 |
pankso@32 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 27 genpkg_rules() |
pankso@32 | 28 { |
pankso@3349 | 29 mkdir -p $fs/usr/lib |
slaxemulator@13264 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@13264 | 31 cp -a $install/usr/bin $fs/usr |
pankso@16111 | 32 # ARM |
pankso@16111 | 33 if [ -d "$install/usr/lib/mpg123" ]; then |
pankso@16111 | 34 cp -a $install/usr/lib/mpg123 $fs/usr/lib |
pankso@16111 | 35 find $fs/usr/lib -name "*.la" -exec rm -f {} \; |
pankso@16111 | 36 fi |
pankso@32 | 37 } |