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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://superb-west.dl.sourceforge.net
/sourceforge
/
16 PKG_MD5SUM
:=664431bf6737df1c265500e1f0b5d40c
19 include $(INCLUDE_DIR
)/host-build.mk
21 define Build
/Configure
22 ( cd
$(PKG_BUILD_DIR
); \
24 --target
=$(GNU_HOST_NAME
) \
25 --host
=$(GNU_HOST_NAME
) \
26 --build
=$(GNU_HOST_NAME
) \
33 --libexecdir
=/usr
/lib \
35 --datadir=/usr
/share \
36 --localstatedir
=/var \
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 CFLAGS
="$(HOST_CFLAGS) -include getline.h" \
49 install -m0755
$(PKG_BUILD_DIR
)/genext2fs
$(STAGING_DIR_HOST
)/bin
/
53 rm -f
$(STAGING_DIR_HOST
)/bin
/genext2fs
56 $(eval
$(call HostBuild
))