wok-current annotate moc/receipt @ rev 15839
Up: flac to 1.3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 05:38:38 2014 +0000 (2014-01-27) |
parents | 3e599985638d |
children | 73fb2ebfd59a |
rev | line source |
---|---|
paul@3900 | 1 # SliTaz package receipt. |
paul@3900 | 2 |
paul@3900 | 3 PACKAGE="moc" |
paul@3900 | 4 VERSION="2.4.4" |
paul@3900 | 5 CATEGORY="multimedia" |
paul@3900 | 6 SHORT_DESC="Music on console." |
paul@3900 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
pascal@15583 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15583 | 10 WEB_SITE="http://moc.daper.net/" |
pascal@15583 | 11 WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL" |
pascal@15583 | 12 |
paul@3901 | 13 DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \ |
pascal@5030 | 14 libsamplerate libsndfile libtool ffmpeg ncursesw" |
paul@3900 | 15 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \ |
paul@3901 | 16 curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \ |
paul@3901 | 17 libsndfile-dev libsndfile libid3tag pkg-config libsamplerate" |
paul@3900 | 18 |
paul@3900 | 19 # Rules to configure and make the package. |
paul@3900 | 20 compile_rules() |
paul@3900 | 21 { |
paul@3900 | 22 cd $src |
paul@3900 | 23 ./configure \ |
paul@3900 | 24 --prefix=/usr \ |
paul@3900 | 25 --infodir=/usr/share/info \ |
paul@3900 | 26 --mandir=/usr/share/man \ |
paul@3900 | 27 $CONFIGURE_ARGS && |
pascal@15583 | 28 make && make DESTDIR=$DESTDIR install |
paul@3900 | 29 } |
paul@3900 | 30 |
paul@3900 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3900 | 32 genpkg_rules() |
paul@3900 | 33 { |
paul@3900 | 34 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc |
pascal@15583 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 36 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc |
pascal@15583 | 37 cp -a $install/usr/share/doc/* $fs/usr/share/doc |
pascal@15583 | 38 cp -a $install/usr/share/moc/* $fs/usr/share/moc |
paul@3900 | 39 |
paul@3900 | 40 # strip unneeded libraries |
paul@3900 | 41 rm $fs/usr/lib/moc/decoder_plugins/*.*a |
paul@3900 | 42 } |