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