wok-6.x view ctags/receipt @ rev 25171

updated python-docutils (0.16 -> 0.18.1)
author Hans-G?nter Theisgen
date Fri Jul 01 16:17:26 2022 +0100 (2022-07-01)
parents 42e0165c64b9
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="ctags"
4 VERSION="5.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Generates an index file of language objects found in source files."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ctags.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/ctags/files/ctags/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/ctags/||;s|/.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make prefix=$DESTDIR/usr install
32 cook_pick_manpages ctags.1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files ctags
39 }