wok-next diff mdp/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents cc6bbcf323fa
children
line diff
     1.1 --- a/mdp/receipt	Sat Oct 11 14:25:56 2014 +0200
     1.2 +++ b/mdp/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,28 +3,23 @@
     1.4  PACKAGE="mdp"
     1.5  VERSION="0.91.3"
     1.6  CATEGORY="office"
     1.7 -SHORT_DESC="A command-line based markdown presentation tool."
     1.8 +SHORT_DESC="A command-line based markdown presentation tool"
     1.9  MAINTAINER="paul@slitaz.org"
    1.10  LICENSE="GPL3"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="https://github.com/visit1985/mdp"
    1.13  WGET_URL="git|git://github.com/visit1985/mdp"
    1.14  
    1.15 -DEPENDS="ncurses"
    1.16  BUILD_DEPENDS="ncurses-dev git bzip2"
    1.17  
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	make
    1.22 -	make DESTDIR=$DESTDIR install
    1.23 +compile_rules() {
    1.24 +	make &&
    1.25 +	make DESTDIR=$install install
    1.26  }
    1.27  
    1.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 -genpkg_rules()
    1.30 -{
    1.31 +genpkg_rules() {
    1.32  	mkdir -p $fs/usr/bin $fs/usr/share/mdp
    1.33  	cp -a $install/$PACKAGE $fs/usr/bin
    1.34  	cp -a $src/*.md $fs/usr/share/mdp
    1.35 +	DEPENDS="ncurses"
    1.36  }
    1.37 -