wok view mdp/receipt @ rev 17873

eom: Update bdeps and genpkg_rules
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 27 02:10:52 2015 -0300 (2015-03-27)
parents 6880673c44a1
children 09b9cfc6baf6
line source
1 # SliTaz package receipt.
3 PACKAGE="mdp"
4 VERSION="0.91.3"
5 CATEGORY="office"
6 SHORT_DESC="A command-line based markdown presentation tool."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/visit1985/mdp"
11 WGET_URL="git|git://github.com/visit1985/mdp"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev git bzip2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/mdp
27 cp -a $install/$PACKAGE $fs/usr/bin
28 cp -a $src/*.md $fs/usr/share/mdp
29 }