wok-6.x annotate mpg123/receipt @ rev 11747
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 02:51:12 2012 +0100 (2012-02-22) |
parents | 6b5b87dc47c5 |
children | f7b559e8d31d |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
devl547@11314 | 4 VERSION="1.13.4" |
pankso@177 | 5 CATEGORY="multimedia" |
paul@4627 | 6 SHORT_DESC="Command line audio player and streamer" |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@9629 | 8 DEPENDS="alsa-lib libltdl esound openal portaudio libsdl" |
slaxemulator@10195 | 9 BUILD_DEPENDS="alsa-lib-dev libtool" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 11 WEB_SITE="http://www.mpg123.de/" |
pankso@32 | 12 WGET_URL="http://www.mpg123.de/download/$TARBALL" |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pankso@32 | 17 cd $src |
pankso@191 | 18 ./configure \ |
pankso@191 | 19 --prefix=/usr \ |
pankso@191 | 20 --mandir=/usr/share/man \ |
paul@4633 | 21 --with-default-audio=alsa \ |
pascal@2464 | 22 $CONFIGURE_ARGS && |
pascal@2464 | 23 make && |
slaxemulator@10195 | 24 make install |
pankso@32 | 25 } |
pankso@32 | 26 |
pankso@32 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 28 genpkg_rules() |
pankso@32 | 29 { |
paul@4627 | 30 # mpg123 needs the plugins libtool library file (.la) to work. |
pankso@3349 | 31 mkdir -p $fs/usr/lib |
pankso@191 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@4633 | 33 cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib |
devl547@11314 | 34 cp -a $_pkg/usr/include $fs/usr |
pankso@32 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 36 } |