wok view asciidoc/receipt @ rev 25674

tiptop: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:10:12 2024 +0000 (2 months ago)
parents 6b33f9da53d4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="asciidoc"
4 VERSION="8.6.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Text based document generation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.org/project/asciidoc/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/project/asciidoc/asciidoc/$VERSION/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/asciidoc/files/asciidoc/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*asciidoc-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 }