wok-6.x diff mdp/receipt @ rev 22411

VLC: request of --enable-run-as-root, see http://forum.slitaz.org/topic/vlc-player-does-not-run-on-root
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 13 13:43:22 2019 +0000 (2019-12-13)
parents cc6bbcf323fa
children 5ea0ce1cecc0
line diff
     1.1 --- a/mdp/receipt	Sat Oct 11 14:25:56 2014 +0200
     1.2 +++ b/mdp/receipt	Fri Dec 13 13:43:22 2019 +0000
     1.3 @@ -1,30 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mdp"
     1.7 -VERSION="0.91.3"
     1.8 +VERSION="1.0.15"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="A command-line based markdown presentation tool."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="https://github.com/visit1985/mdp"
    1.15 -WGET_URL="git|git://github.com/visit1985/mdp"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.19  
    1.20  DEPENDS="ncurses"
    1.21 -BUILD_DEPENDS="ncurses-dev git bzip2"
    1.22 +BUILD_DEPENDS="ncurses-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27  	make
    1.28 -	make DESTDIR=$DESTDIR install
    1.29 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    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 $fs/usr/share/mdp
    1.36 -	cp -a $install/$PACKAGE $fs/usr/bin
    1.37 -	cp -a $src/*.md $fs/usr/share/mdp
    1.38 +	mkdir -p $fs/usr/bin
    1.39 +	mkdir -p $fs/usr/share/mdp
    1.40 +
    1.41 +	cp -a $install/usr/bin	$fs/usr
    1.42 +	cp -a $src/*.md		$fs/usr/share/mdp
    1.43  }
    1.44 -