wok view mdp/receipt @ rev 24991

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 08:41:24 2022 +0000 (2022-05-14)
parents 5ea0ce1cecc0
children
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*}/tags 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 }