wok annotate moc/receipt @ rev 20200
aufs: move kernel module to linux*-aufs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 17:29:20 2018 +0100 (2018-02-12) |
parents | 61baea11d722 |
children | 3d4dabd4c234 |
rev | line source |
---|---|
paul@3900 | 1 # SliTaz package receipt. |
paul@3900 | 2 |
paul@3900 | 3 PACKAGE="moc" |
paul@17120 | 4 VERSION="2.5.0" |
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@17121 | 11 WGET_URL="http://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 \ |
psychomaniak@20127 | 15 libsamplerate libsndfile libltdl ffmpeg ncursesw db libmagic" |
paul@17120 | 16 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev db-dev \ |
paul@17120 | 17 curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate \ |
pascal@19690 | 18 libtool libmagic-dev" |
pankso@16021 | 19 |
pankso@16021 | 20 # Handle cross compilation |
pankso@16021 | 21 case "$ARCH" in |
pankso@16021 | 22 arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;; |
pankso@16021 | 23 esac |
paul@3900 | 24 |
paul@3900 | 25 # Rules to configure and make the package. |
paul@3900 | 26 compile_rules() |
paul@3900 | 27 { |
pankso@16021 | 28 export LIBTOOL=${HOST_SYSTEM}-libtool |
paul@3900 | 29 ./configure \ |
paul@3900 | 30 --prefix=/usr \ |
paul@3900 | 31 --infodir=/usr/share/info \ |
paul@3900 | 32 --mandir=/usr/share/man \ |
paul@3900 | 33 $CONFIGURE_ARGS && |
pascal@15583 | 34 make && make DESTDIR=$DESTDIR install |
paul@3900 | 35 } |
paul@3900 | 36 |
paul@3900 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3900 | 38 genpkg_rules() |
paul@3900 | 39 { |
paul@3900 | 40 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc |
pascal@15583 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15583 | 42 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc |
pascal@15583 | 43 cp -a $install/usr/share/doc/* $fs/usr/share/doc |
pascal@15583 | 44 cp -a $install/usr/share/moc/* $fs/usr/share/moc |
paul@3900 | 45 |
paul@3900 | 46 # strip unneeded libraries |
paul@3900 | 47 rm $fs/usr/lib/moc/decoder_plugins/*.*a |
paul@3900 | 48 } |