wok view ms-sys/receipt @ rev 24729

updated libdnet and libdnet-dev (1.12 -> 1.14)
author Hans-G?nter Theisgen
date Tue Mar 15 16:28:57 2022 +0100 (2022-03-15)
parents 90e20bb5b8f2
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="ms-sys"
4 VERSION="2.6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Program for writing Microsoft compatible boot records."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ms-sys.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - 'https://sourceforge.net/projects/ms-sys/files/ms-sys stable/' 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*stable/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
29 make PREFIX=/usr DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }