wok-current view mdp/receipt @ rev 24167

Up tazlito (533), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 28 16:40:30 2021 +0000 (2021-12-28)
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 }