wok-current view ctags/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 9af0e03b8ad0 |
children |
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="https://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 }