wok-current view moc/receipt @ rev 21641
openspades: modified BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 29 17:14:12 2019 +0100 (2019-05-29) |
parents | 174738f4e9f9 |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="moc"
4 VERSION="2.5.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music on console."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://moc.daper.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.daper.net/pub/soft/$PACKAGE/stable/$TARBALL"
14 DEPENDS="alsa-lib curl db ffmpeg flac libid3tag libltdl libmad libmagic \
15 libogg libsamplerate libsndfile libvorbis ncursesw"
16 BUILD_DEPENDS="alsa-lib-dev curl-dev db-dev flac-dev libid3tag-dev \
17 libmad-dev libmagic-dev libogg-dev libsamplerate libsamplerate-dev \
18 libsndfile-dev libtool libvorbis-dev ncurses-dev"
20 #HOST_ARCH="i486 arm"
22 # Handle cross compilation
23 case "$ARCH" in
24 arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LIBTOOL=${HOST_SYSTEM}-libtool
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/moc
44 mkdir -p $fs/usr/share/doc
45 mkdir -p $fs/usr/share/moc
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
49 cp -a $install/usr/share/doc/* $fs/usr/share/doc
50 cp -a $install/usr/share/moc/* $fs/usr/share/moc
52 # delete unneeded libraries
53 rm $fs/usr/lib/moc/decoder_plugins/*.*a
54 }