21 lines
675 B
Bash
21 lines
675 B
Bash
# Template file for 'python3-pyelftools'
|
|
pkgname=python3-pyelftools
|
|
version=0.28
|
|
revision=1
|
|
wrksrc="pyelftools-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Python3 library for parsing ELF and DWARF"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Public Domain"
|
|
homepage="https://github.com/eliben/pyelftools"
|
|
distfiles="${PYPI_SITE}/p/pyelftools/pyelftools-${version}.tar.gz"
|
|
checksum=53e5609cac016471d40bd88dc410cd90755942c25e58a61021cfdf7abdfeacff
|
|
alternatives="pyelftools:readelf.py:/usr/bin/readelf.py3"
|
|
|
|
post_install() {
|
|
mv $DESTDIR/usr/bin/readelf.py $DESTDIR/usr/bin/readelf.py3
|
|
vlicense LICENSE
|
|
}
|