wok-6.x annotate moc/receipt @ rev 16810

Add yelp-xsl
author Yuri Pourre <yuripourre@gmail.com>
date Wed Jul 09 22:45:26 2014 -0300 (2014-07-09)
parents bb009a6ef036
children 2636f4457865
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"
pankso@16021 12 #HOST_ARCH="i486 arm"
pascal@15583 13
paul@3901 14 DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
pascal@5030 15 libsamplerate libsndfile libtool ffmpeg ncursesw"
paul@3900 16 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \
pankso@16021 17 curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate"
pankso@16021 18
pankso@16021 19 # Handle cross compilation
pankso@16021 20 case "$ARCH" in
pankso@16021 21 arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
pankso@16021 22 esac
paul@3900 23
paul@3900 24 # Rules to configure and make the package.
paul@3900 25 compile_rules()
paul@3900 26 {
pankso@16021 27 export LIBTOOL=${HOST_SYSTEM}-libtool
paul@3900 28 ./configure \
paul@3900 29 --prefix=/usr \
paul@3900 30 --infodir=/usr/share/info \
paul@3900 31 --mandir=/usr/share/man \
paul@3900 32 $CONFIGURE_ARGS &&
pascal@15583 33 make && make DESTDIR=$DESTDIR install
paul@3900 34 }
paul@3900 35
paul@3900 36 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3900 37 genpkg_rules()
paul@3900 38 {
paul@3900 39 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
pascal@15583 40 cp -a $install/usr/bin $fs/usr
pascal@15583 41 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
pascal@15583 42 cp -a $install/usr/share/doc/* $fs/usr/share/doc
pascal@15583 43 cp -a $install/usr/share/moc/* $fs/usr/share/moc
paul@3900 44
paul@3900 45 # strip unneeded libraries
paul@3900 46 rm $fs/usr/lib/moc/decoder_plugins/*.*a
paul@3900 47 }