wok view moc/receipt @ rev 21325
updated libunistring and libunistring-dev (0.9.6 -> 0.9.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 19 09:47:55 2019 +0100 (2019-04-19) |
parents | 61baea11d722 |
children | 3d4dabd4c234 |
line source
1 # SliTaz package receipt.
3 PACKAGE="moc"
4 VERSION="2.5.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music on console."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://moc.daper.net/"
11 WGET_URL="http://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
15 libsamplerate libsndfile libltdl ffmpeg ncursesw db libmagic"
16 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev db-dev \
17 curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate \
18 libtool libmagic-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LIBTOOL=${HOST_SYSTEM}-libtool
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
43 cp -a $install/usr/share/doc/* $fs/usr/share/doc
44 cp -a $install/usr/share/moc/* $fs/usr/share/moc
46 # strip unneeded libraries
47 rm $fs/usr/lib/moc/decoder_plugins/*.*a
48 }