wok-next diff mp3info/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
line diff
     1.1 --- a/mp3info/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/mp3info/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -3,26 +3,24 @@
     1.4  PACKAGE="mp3info"
     1.5  VERSION="0.8.5a"
     1.6  CATEGORY="multimedia"
     1.7 -SHORT_DESC="Little utility used to read and modify the ID3 tags of MP3 files."
     1.8 -MAINTAINER="pankso@slitaz.org"
     1.9 +SHORT_DESC="Little utility used to read and modify the ID3 tags of MP3 files"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 +WEB_SITE="http://ibiblio.org/mp3info/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tgz"
    1.15 -WEB_SITE="http://ibiblio.org/mp3info/"
    1.16  WGET_URL="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/$TARBALL"
    1.17  
    1.18 -DEPENDS="ncurses gtk2"
    1.19  BUILD_DEPENDS="ncurses-dev gtk2-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	make
    1.25 +compile_rules() {
    1.26 +	make || return 1
    1.27 +
    1.28 +	install -Dm755 mp3info  $install/usr/bin/mp3info
    1.29 +	install -Dm755 gmp3info $install/usr/bin/gmp3info
    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/bin
    1.36 -	cp -a $src/mp3info $fs/usr/bin
    1.37 -	cp -a $src/gmp3info $fs/usr/bin
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="ncurses gtk2"
    1.41  }