wok annotate libraryopt/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | 65d7d867e0c1 |
children | d3556b8f5c3d |
rev | line source |
---|---|
pascal@23882 | 1 # SliTaz package receipt. |
pascal@23882 | 2 |
pascal@23882 | 3 PACKAGE="libraryopt" |
pascal@23882 | 4 VERSION="1.0.1" |
pascal@23882 | 5 CATEGORY="development" |
pascal@23882 | 6 SHORT_DESC="Rebuilds shared libraries to contain only the object files needed of executables" |
pascal@23882 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23882 | 8 LICENSE="GPL2" |
pascal@23882 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://libraryopt.sourceforge.net/" |
pascal@23882 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@23882 | 12 |
pascal@23882 | 13 DEPENDS="python binutils" |
pascal@23882 | 14 |
pascal@24411 | 15 # What is the latest version available today? |
pascal@24411 | 16 current_version() |
pascal@24411 | 17 { |
pascal@24411 | 18 wget -O - https://sourceforge.net/projects/libraryopt/files/libraryopt/ 2>/dev/null | \ |
pascal@24411 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 20 sed '/scope="row/!d;s|.*/libraryopt-||;s|.tar.*||;q' |
pascal@24411 | 21 } |
pascal@24411 | 22 |
pascal@23882 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23882 | 24 genpkg_rules() |
pascal@23882 | 25 { |
pascal@23882 | 26 mkdir -p $fs/usr/bin $install/usr |
pascal@23882 | 27 cp -a $src/src/lib* $fs/usr/bin |
pascal@23882 | 28 cp -a $src/doc $install/usr |
pascal@23882 | 29 } |