wok annotate ms-sys/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents afae00265386
children d3556b8f5c3d
rev   line source
pascal@15902 1 # SliTaz package receipt.
pascal@15902 2
pascal@15902 3 PACKAGE="ms-sys"
Hans-G?nter@21487 4 VERSION="2.6.0"
pascal@15902 5 CATEGORY="system-tools"
pascal@15902 6 SHORT_DESC="Program for writing Microsoft compatible boot records."
pascal@15902 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15902 8 LICENSE="GPL2"
pascal@25460 9 WEB_SITE="https://ms-sys.sourceforge.net/"
Hans-G?nter@21487 10
Hans-G?nter@21487 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15902 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15902 13
pascal@15902 14 DEPENDS=""
pascal@15902 15 BUILD_DEPENDS="gettext"
pascal@15902 16
pascal@24402 17 # What is the latest version available today?
pascal@24402 18 current_version()
pascal@24402 19 {
pascal@24402 20 wget -O - 'https://sourceforge.net/projects/ms-sys/files/ms-sys stable/' 2>/dev/null | \
pascal@24402 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 22 sed '/scope="row/!d;s|.*stable/||;s|/.*||;q'
pascal@24402 23 }
pascal@24402 24
pascal@15902 25 # Rules to configure and make the package.
pascal@15902 26 compile_rules()
pascal@15902 27 {
pascal@19292 28 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
pascal@15902 29 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@15902 30 }
pascal@15902 31
pascal@15902 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15902 33 genpkg_rules()
pascal@15902 34 {
pascal@15902 35 mkdir -p $fs/usr
pascal@15902 36 cp -a $install/usr/bin $fs/usr
pascal@15902 37 }