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