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/
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
26 CATEGORY:=Boot Loaders
27 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
29 URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/
32 define Package/lilo/conffiles
37 $(MAKE) -C $(PKG_BUILD_DIR) alles
38 $(STRIP) $(PKG_BUILD_DIR)/lilo.static
41 define Package/lilo/install
42 install -d -m0755 $(1)/sbin
43 $(CP) $(PKG_BUILD_DIR)/lilo.static $(1)/sbin/lilo
44 install -d -m0755 $(1)/etc
45 $(CP) ./files/lilo.conf $(1)/etc/
46 $(CP) ./files/boot.msg $(1)/etc/
49 $(eval $(call BuildPackage,lilo))