wok annotate lilo/receipt @ rev 1970
Add lilo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 02 16:33:12 2009 +0100 (2009-01-02) |
parents | |
children | aaaad6fc3437 |
rev | line source |
---|---|
pascal@1970 | 1 # SliTaz package receipt. |
pascal@1970 | 2 |
pascal@1970 | 3 PACKAGE="lilo" |
pascal@1970 | 4 VERSION="22.8" |
pascal@1970 | 5 CATEGORY="system-tools" |
pascal@1970 | 6 SHORT_DESC="LInux boot LOader." |
pascal@1970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1970 | 8 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
pascal@1970 | 9 WEB_SITE="http://lilo.go.dyndns.org/" |
pascal@1970 | 10 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/boot/$PACKAGE/$TARBALL" |
pascal@1970 | 11 |
pascal@1970 | 12 # Rules to configure and make the package. |
pascal@1970 | 13 compile_rules() |
pascal@1970 | 14 { |
pascal@1970 | 15 cd $src |
pascal@1970 | 16 sed -i 's/cp -uf/cp -f/' Makefile |
pascal@1970 | 17 make && |
pascal@1970 | 18 make ROOT=$PWD/_pkg install |
pascal@1970 | 19 } |
pascal@1970 | 20 |
pascal@1970 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1970 | 22 genpkg_rules() |
pascal@1970 | 23 { |
pascal@1970 | 24 cp -a $_pkg/sbin $fs |
pascal@1970 | 25 } |
pascal@1970 | 26 |