2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).src.
tar.gz
16 PKG_SOURCE_URL
:=ftp
://metalab.unc.edu
/pub
/Linux
/system
/boot
/lilo
/
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
25 CATEGORY
:=Boot Loaders
28 URL
:=ftp
://metalab.unc.edu
/pub
/Linux
/system
/boot
/lilo
/
31 define Package
/lilo
/conffiles
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) alles
39 define Package
/lilo
/install
40 $(INSTALL_DIR
) $(1)/sbin
41 $(CP
) $(PKG_BUILD_DIR
)/lilo.static
$(1)/sbin
/lilo
42 $(INSTALL_DIR
) $(1)/etc
43 $(CP
) .
/files
/lilo.conf
$(1)/etc
/
44 $(CP
) .
/files
/boot.msg
$(1)/etc
/
47 $(eval
$(call BuildPackage
,lilo
))
49 $(foreach command
, as86 ld86
, \
50 $(eval
$(call RequireCommand
,$(command
), \
51 $(PKG_NAME
) requires
$(command
). \