2 # Copyright (C) 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
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_SOURCE_URL
:=http
://fedorahosted.org
/releases
/e
/l
/elfutils
/
15 PKG_MD5SUM
:=ccb6bba1d96c096f1b5dbd34444554a3
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/elfutils
26 URL
:=https
://fedorahosted.org
/elfutils
/
32 EXTRA_CPPFLAGS
:=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include
33 EXTRA_LDFLAGS
:=-L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
-lintl
37 define Build
/InstallDev
38 $(INSTALL_DIR
) $(1)/usr
/include
39 $(CP
) $(PKG_BUILD_DIR
)/libelf
/libelf.h
$(1)/usr
/include/
40 $(INSTALL_DIR
) $(1)/usr
/lib
41 $(CP
) $(PKG_BUILD_DIR
)/libelf
/libelf.
{a
,so
*} $(1)/usr
/lib
/
44 define Package
/elfutils
/install
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(CP
) $(PKG_BUILD_DIR
)/libelf
/libelf.so.
* $(1)/usr
/lib
/
49 $(eval
$(call BuildPackage
,elfutils
))