wok annotate mdp/receipt @ rev 24229
updated perl-ipc-run (20180523.0 -> 20200505.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:42:11 2022 +0100 (2022-01-02) |
parents | 09b9cfc6baf6 |
children | ac8ca9758df1 |
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 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@17215 | 23 # Rules to configure and make the package. |
paul@17215 | 24 compile_rules() |
paul@17215 | 25 { |
paul@17215 | 26 make |
Hans-G?nter@21426 | 27 make PREFIX=/usr DESTDIR=$DESTDIR install |
paul@17215 | 28 } |
paul@17215 | 29 |
paul@17215 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17215 | 31 genpkg_rules() |
paul@17215 | 32 { |
Hans-G?nter@21426 | 33 mkdir -p $fs/usr/bin |
Hans-G?nter@21426 | 34 mkdir -p $fs/usr/share/mdp |
Hans-G?nter@21426 | 35 |
Hans-G?nter@21426 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21426 | 37 cp -a $src/*.md $fs/usr/share/mdp |
paul@17215 | 38 } |