[tools] mklibs: upgrade to 0.1.37
[openwrt/svn-archive/archive.git] / tools / mklibs / Makefile
1 #
2 # Copyright (C) 2009-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=mklibs
10 PKG_VERSION:=0.1.37
11
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
14 PKG_MD5SUM:=099cc99d51f09ea51e58a56e62a46af7
15
16 HOST_FIXUP:=autoreconf
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 HOST_CFLAGS += -I$(CURDIR)/include
21 HOST_LDFLAGS += $(HOST_STATIC_LINKING)
22
23 define Host/Install
24 $(INSTALL_BIN) \
25 $(HOST_BUILD_DIR)/src/mklibs \
26 $(HOST_BUILD_DIR)/src/mklibs-copy \
27 $(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
28 $(STAGING_DIR_HOST)/bin/
29 endef
30
31 define Host/Clean
32 rm -f $(STAGING_DIR_HOST)/bin/mklibs*
33 endef
34
35 $(eval $(call HostBuild))