0bd24f8fa9129aad72608f44b42024147e84ff14
[openwrt/staging/mkresin.git] / openwrt / toolchain / ext2fs / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=genext2fs
12 PKG_VERSION:=1.4rc1
13
14 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=664431bf6737df1c265500e1f0b5d40c
18 PKG_CAT:=zcat
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 define Build/Compile
23 $(MAKE) -C $(PKG_BUILD_DIR) all
24 endef
25
26 define Build/Install
27 install -m0755 $(PKG_BUILD_DIR)/genext2fs $(STAGING_DIR)/bin/
28 endef
29
30 $(eval $(call HostBuild))