wok diff moc/receipt @ rev 15795

Up slitaz-tools (5.5.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 19 14:21:08 2014 +0100 (2014-01-19)
parents 3e599985638d
children 73fb2ebfd59a
line diff
     1.1 --- a/moc/receipt	Wed Mar 03 00:03:13 2010 +0100
     1.2 +++ b/moc/receipt	Sun Jan 19 14:21:08 2014 +0100
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Music on console."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9 +WEB_SITE="http://moc.daper.net/"
    1.10 +WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
    1.11 +
    1.12  DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
    1.13  libsamplerate libsndfile libtool ffmpeg ncursesw"
    1.14  BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \
    1.15  curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \
    1.16  libsndfile-dev libsndfile libid3tag pkg-config libsamplerate" 
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://moc.daper.net/"
    1.19 -WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23 @@ -23,17 +25,17 @@
    1.24  		--infodir=/usr/share/info \
    1.25  		--mandir=/usr/share/man \
    1.26  		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	make && make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 -	cp -a $_pkg/usr/lib/moc/* $fs/usr/lib/moc
    1.37 -	cp -a $_pkg/usr/share/doc/* $fs/usr/share/doc
    1.38 -	cp -a $_pkg/usr/share/moc/* $fs/usr/share/moc
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
    1.41 +	cp -a $install/usr/share/doc/* $fs/usr/share/doc
    1.42 +	cp -a $install/usr/share/moc/* $fs/usr/share/moc
    1.43  
    1.44  	# strip unneeded libraries
    1.45  	rm $fs/usr/lib/moc/decoder_plugins/*.*a