wok-next annotate mdp/receipt @ rev 17683
Up crosstool-ng (1.20.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 20 21:41:13 2015 +0100 (2015-02-20) |
parents | 6880673c44a1 |
children | d5aab818505e |
rev | line source |
---|---|
paul@17215 | 1 # SliTaz package receipt. |
paul@17215 | 2 |
paul@17215 | 3 PACKAGE="mdp" |
paul@17215 | 4 VERSION="0.91.3" |
paul@17215 | 5 CATEGORY="office" |
paul@17215 | 6 SHORT_DESC="A command-line based markdown presentation tool." |
paul@17215 | 7 MAINTAINER="paul@slitaz.org" |
pascal@17216 | 8 LICENSE="GPL3" |
paul@17215 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@17215 | 10 WEB_SITE="https://github.com/visit1985/mdp" |
paul@17215 | 11 WGET_URL="git|git://github.com/visit1985/mdp" |
paul@17215 | 12 |
paul@17215 | 13 DEPENDS="ncurses" |
paul@17215 | 14 BUILD_DEPENDS="ncurses-dev git bzip2" |
paul@17215 | 15 |
paul@17215 | 16 # Rules to configure and make the package. |
paul@17215 | 17 compile_rules() |
paul@17215 | 18 { |
paul@17215 | 19 make |
paul@17215 | 20 make DESTDIR=$DESTDIR install |
paul@17215 | 21 } |
paul@17215 | 22 |
paul@17215 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17215 | 24 genpkg_rules() |
paul@17215 | 25 { |
paul@17215 | 26 mkdir -p $fs/usr/bin $fs/usr/share/mdp |
paul@17215 | 27 cp -a $install/$PACKAGE $fs/usr/bin |
paul@17215 | 28 cp -a $src/*.md $fs/usr/share/mdp |
paul@17215 | 29 } |
paul@17215 | 30 |