wok-current rev 3900
Add moc
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Aug 15 10:42:14 2009 +0000 (2009-08-15) |
parents | 15597e943023 |
children | 75d213eeefb6 |
files | moc/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/moc/receipt Sat Aug 15 10:42:14 2009 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="moc" 1.7 +VERSION="2.4.4" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Music on console." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac \ 1.12 + curl libsamplerate libsndfile" 1.13 +BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \ 1.14 + curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \ 1.15 + libsndfile-dev libsndfile libid3tag pkg-config libsamplerate" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +WEB_SITE="http://moc.daper.net/" 1.18 +WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + cp -a $_pkg/usr/lib/moc/* $fs/usr/lib/moc 1.38 + cp -a $_pkg/usr/share/doc/* $fs/usr/share/doc 1.39 + cp -a $_pkg/usr/share/moc/* $fs/usr/share/moc 1.40 + 1.41 + # strip unneeded libraries 1.42 + rm $fs/usr/lib/moc/decoder_plugins/*.*a 1.43 +}