wok view lilo/receipt @ rev 24445
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 14:14:23 2022 +0000 (2022-02-14) |
parents | e5bb9ea7a49d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lilo"
4 VERSION="24.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="LInux boot LOader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.joonet.de/lilo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}ftp/sources/$TARBALL"
14 BUILD_DEPENDS="dev86 libdevmapper"
15 DEPENDS="libdevmapper"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make alles &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/sbin $fs
35 }