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