wok-current annotate lilo/receipt @ rev 25552
Add kegs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 08 14:00:41 2023 +0000 (19 months ago) |
parents | e5bb9ea7a49d |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
pascal@1970 | 1 # SliTaz package receipt. |
pascal@1970 | 2 |
pascal@1970 | 3 PACKAGE="lilo" |
Hans-G?nter@21357 | 4 VERSION="24.2" |
pascal@1970 | 5 CATEGORY="system-tools" |
pascal@1970 | 6 SHORT_DESC="LInux boot LOader." |
pascal@1970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="BSD" |
Hans-G?nter@21357 | 9 WEB_SITE="https://www.joonet.de/lilo/" |
Hans-G?nter@21357 | 10 |
slaxemulator@9573 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21357 | 12 WGET_URL="${WEB_SITE}ftp/sources/$TARBALL" |
pascal@15379 | 13 |
pascal@1971 | 14 BUILD_DEPENDS="dev86 libdevmapper" |
pascal@1971 | 15 DEPENDS="libdevmapper" |
pascal@1970 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
pascal@1970 | 24 # Rules to configure and make the package. |
pascal@1970 | 25 compile_rules() |
pascal@1970 | 26 { |
pascal@17118 | 27 make alles && |
slaxemulator@9573 | 28 make install |
pascal@1970 | 29 } |
pascal@1970 | 30 |
pascal@1970 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1970 | 32 genpkg_rules() |
pascal@1970 | 33 { |
pascal@15379 | 34 cp -a $install/sbin $fs |
pascal@1970 | 35 } |