wok annotate discount/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents ac8ca9758df1
children
rev   line source
tcg@17140 1 # SliTaz package receipt.
tcg@17140 2
tcg@17140 3 PACKAGE="discount"
Hans-G?nter@24483 4 VERSION="2.2.7"
tcg@17140 5 CATEGORY="utilities"
Hans-G?nter@22734 6 SHORT_DESC="A C implementation of the markdown language."
necrophcodr@17745 7 MAINTAINER="necrophcodr@necrophcodr.me"
tcg@17140 8 LICENSE="BSD3"
Hans-G?nter@24483 9 WEB_SITE="https://www.pell.portland.or.us/~orc/Code/markdown"
Hans-G?nter@20838 10
Hans-G?nter@22734 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20838 12 WGET_URL="https://github.com/Orc/$PACKAGE/archive/v$VERSION/$TARBALL"
tcg@17140 13
tcg@17140 14 DEPENDS=""
pascal@17152 15 BUILD_DEPENDS=""
Hans-G?nter@22734 16
Hans-G?nter@20838 17 HOST_ARCH="i486 arm"
tcg@17140 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24299 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
tcg@17140 25 # Rules to configure and make the package.
tcg@17140 26 compile_rules()
tcg@17140 27 {
tcg@17140 28 ./configure.sh --prefix=/usr &&
Hans-G?nter@22735 29 make -j 1 &&
Hans-G?nter@24483 30 make install DESTDIR=$DESTDIR
Hans-G?nter@24483 31 # Do not remove -j 1 !
tcg@17140 32 }
tcg@17140 33
tcg@17140 34
tcg@17140 35 # Rules to gen a SliTaz package suitable for Tazpkg.
tcg@17140 36 genpkg_rules()
tcg@17140 37 {
Hans-G?nter@24483 38 cook_copy_folders bin
tcg@17140 39 }