wok view mdp/receipt @ rev 24057

Up intel-microcode (20210216), lzsa (1.3.7), xrdp (0.9.16), xorgxrdp (0.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 14:31:15 2021 +0000 (2021-06-08)
parents 09b9cfc6baf6
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="mdp"
4 VERSION="1.0.15"
5 CATEGORY="office"
6 SHORT_DESC="A command-line based markdown presentation tool."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/visit1985/mdp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 make PREFIX=/usr DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 mkdir -p $fs/usr/share/mdp
36 cp -a $install/usr/bin $fs/usr
37 cp -a $src/*.md $fs/usr/share/mdp
38 }