wok-6.x view asciidoc/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 11b5e93cb5f2 |
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="http://www.methods.co.nz/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|.*href="|"https://sourceforge.net|;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 }