wok-next diff mikmod/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 466bca9334ef
children d5aab818505e
line diff
     1.1 --- a/mikmod/receipt	Tue Oct 17 10:14:12 2017 +0200
     1.2 +++ b/mikmod/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,30 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mikmod"
     1.8  VERSION="3.2.5"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Mikmod module player."
    1.11 +SHORT_DESC="Mikmod module player"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://mikmod.shlomifish.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://mikmod.shlomifish.org/"
    1.18 -WGET_URL="http://downloads.sourceforge.net/project/mikmod/$PACKAGE/$VERSION/$TARBALL"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="ncurses libmikmod"
    1.22  BUILD_DEPENDS="ncurses-dev libmikmod-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	./configure --prefix=/usr \
    1.28 +compile_rules() {
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31  		$CONFIGURE_ARGS &&
    1.32 -	make && make install
    1.33 +	make &&
    1.34 +	make install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr/share
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 -	cp -a $install/usr/share/mikmod $fs/usr/share
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="ncurses libmikmod"
    1.46  }