wok rev 21464

updated moc (2.5.0 -> 2.5.2)
author Hans-G?nter Theisgen
date Tue Apr 30 14:28:03 2019 +0100 (2019-04-30)
parents 8f7d3860b66a
children 20b4935ebb5d
files moc/receipt
line diff
     1.1 --- a/moc/receipt	Tue Apr 30 14:12:14 2019 +0100
     1.2 +++ b/moc/receipt	Tue Apr 30 14:28:03 2019 +0100
     1.3 @@ -1,22 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="moc"
     1.7 -VERSION="2.5.0"
     1.8 +VERSION="2.5.2"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Music on console."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://moc.daper.net/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://moc.daper.net/"
    1.17 -WGET_URL="http://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
    1.18 +WGET_URL="http://ftp.daper.net/pub/soft/$PACKAGE/stable/$TARBALL"
    1.19 +
    1.20 +DEPENDS="alsa-lib curl db ffmpeg flac libid3tag libltdl libmad libmagic \
    1.21 +	libogg libsamplerate libsndfile libvorbis ncursesw"
    1.22 +BUILD_DEPENDS="alsa-lib-dev curl-dev db-dev flac-dev libid3tag-dev \
    1.23 +	libmad-dev libmagic-dev libogg-dev libsamplerate libsamplerate-dev \
    1.24 +	libsndfile-dev libtool libvorbis-dev ncurses-dev"
    1.25 +
    1.26  #HOST_ARCH="i486 arm"
    1.27  
    1.28 -DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
    1.29 -libsamplerate libsndfile libltdl ffmpeg ncursesw db libmagic"
    1.30 -BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev db-dev \
    1.31 -curl-dev libsamplerate-dev alsa-lib-dev ncurses-dev libsndfile-dev libsamplerate \
    1.32 -libtool libmagic-dev"
    1.33 -
    1.34  # Handle cross compilation
    1.35  case "$ARCH" in
    1.36  	arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
    1.37 @@ -26,23 +28,27 @@
    1.38  compile_rules()
    1.39  {
    1.40  	export LIBTOOL=${HOST_SYSTEM}-libtool
    1.41 -	./configure \
    1.42 -		--prefix=/usr \
    1.43 -		--infodir=/usr/share/info \
    1.44 -		--mandir=/usr/share/man \
    1.45 +	./configure				\
    1.46 +		--prefix=/usr			\
    1.47 +		--infodir=/usr/share/info	\
    1.48 +		--mandir=/usr/share/man		\
    1.49  		$CONFIGURE_ARGS &&
    1.50 -	make && make DESTDIR=$DESTDIR install
    1.51 +	make -j 1 &&
    1.52 +	make DESTDIR=$DESTDIR install
    1.53  }
    1.54  
    1.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.56  genpkg_rules()
    1.57  {
    1.58 -	mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
    1.61 -	cp -a $install/usr/share/doc/* $fs/usr/share/doc
    1.62 -	cp -a $install/usr/share/moc/* $fs/usr/share/moc
    1.63 +	mkdir -p $fs/usr/lib/moc
    1.64 +	mkdir -p $fs/usr/share/doc
    1.65 +	mkdir -p $fs/usr/share/moc
    1.66  
    1.67 -	# strip unneeded libraries
    1.68 +	cp -a $install/usr/bin		$fs/usr
    1.69 +	cp -a $install/usr/lib/moc/*	$fs/usr/lib/moc
    1.70 +	cp -a $install/usr/share/doc/*	$fs/usr/share/doc
    1.71 +	cp -a $install/usr/share/moc/*	$fs/usr/share/moc
    1.72 +
    1.73 +	# delete unneeded libraries
    1.74  	rm $fs/usr/lib/moc/decoder_plugins/*.*a
    1.75  }