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.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=http
://download.savannah.gnu.org
/releases
/$(PKG_NAME
)
14 PKG_MD5SUM
:=f77adda60039ffa753f3c584a286f12b
16 include $(INCLUDE_DIR
)/host-build.mk
18 GETOPT
:=$(shell which getopt
)
20 HOST_CONFIGURE_ARGS
+= \
21 --with-patch
=$(PATCH
) \
23 --with-getopt
=$(GETOPT
)
26 cd
$(HOST_BUILD_DIR
) && autoconf
27 $(call Host
/Configure
/Default
)
28 [ -f
$(HOST_BUILD_DIR
)/Makefile
]
32 $(MAKE
) -C
$(HOST_BUILD_DIR
) SHELL
="$(BASH)" all lib
/backup-files
36 $(MAKE
) -C
$(HOST_BUILD_DIR
) SHELL
="$(BASH)" install
40 rm -f
$(STAGING_DIR_HOST
)/bin
/quilt
43 $(eval
$(call HostBuild
))