wok-current view discount/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
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 }