wok annotate mdp/receipt @ rev 21699
updated potamus (15 -> 17)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 05 17:53:51 2019 +0100 (2019-06-05) |
parents | cc6bbcf323fa |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
paul@17215 | 1 # SliTaz package receipt. |
paul@17215 | 2 |
paul@17215 | 3 PACKAGE="mdp" |
Hans-G?nter@21426 | 4 VERSION="1.0.15" |
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 WEB_SITE="https://github.com/visit1985/mdp" |
Hans-G?nter@21426 | 10 |
Hans-G?nter@21426 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21426 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
paul@17215 | 13 |
paul@17215 | 14 DEPENDS="ncurses" |
Hans-G?nter@21426 | 15 BUILD_DEPENDS="ncurses-dev" |
paul@17215 | 16 |
paul@17215 | 17 # Rules to configure and make the package. |
paul@17215 | 18 compile_rules() |
paul@17215 | 19 { |
paul@17215 | 20 make |
Hans-G?nter@21426 | 21 make PREFIX=/usr DESTDIR=$DESTDIR install |
paul@17215 | 22 } |
paul@17215 | 23 |
paul@17215 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17215 | 25 genpkg_rules() |
paul@17215 | 26 { |
Hans-G?nter@21426 | 27 mkdir -p $fs/usr/bin |
Hans-G?nter@21426 | 28 mkdir -p $fs/usr/share/mdp |
Hans-G?nter@21426 | 29 |
Hans-G?nter@21426 | 30 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21426 | 31 cp -a $src/*.md $fs/usr/share/mdp |
paul@17215 | 32 } |