blob: c4c840fa08417f5b68ad1507fbe97480f0ed996b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-pyelftools
PKG_VERSION:=0.32
PKG_RELEASE:=2
PYPI_NAME:=pyelftools
PKG_HASH:=6de90ee7b8263e740c8715a925382d4099b354f29ac48ea40d840cf7aa14ace5
PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
PKG_LICENSE:=Unlicense
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools/host
HOST_BUILD_DEPENDS:= \
python3/host \
python-build/host \
python-installer/host \
python-setuptools/host \
python-wheel/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../python3-package.mk
include ../python3-host-build.mk
define Package/python3-pyelftools
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Library for analyzing ELF files and DWARF debugging information
URL:=https://pypi.org/project/pyelftools
DEPENDS:=+python3-light +python3-logging +python3-asyncio +python3-codecs
endef
define Package/python3-pyelftools/description
Library for analyzing ELF files and DWARF debugging information
endef
define Py3Package/python3-pyelftools/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/readelf.py $(1)/usr/bin/pyreadelf
endef
$(eval $(call Py3Package,python3-pyelftools))
$(eval $(call BuildPackage,python3-pyelftools))
$(eval $(call BuildPackage,python3-pyelftools-src))
$(eval $(call HostBuild))
|