wok view discount/receipt @ rev 24142
linux-aufs: git checkout problem ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 15 08:46:59 2021 +0000 (2021-11-15) |
parents | 6422600fc806 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="discount"
4 VERSION="2.2.6"
5 CATEGORY="utilities"
6 SHORT_DESC="A C implementation of the markdown language."
7 MAINTAINER="necrophcodr@necrophcodr.me"
8 LICENSE="BSD3"
9 WEB_SITE="http://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*}/releases 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 DESTDIR=$DESTDIR install
31 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr/
39 }