mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-14 01:08:23 +01:00
9bfe3ca1ad
(cherry picked from commit 88b2d34302
)
25 lines
776 B
BlitzBasic
25 lines
776 B
BlitzBasic
DESCRIPTION = "A module to control Allwinner GPIO,SPI and I2C channels"
|
|
HOMEPAGE = "https://pypi.python.org/pypi/pyA20SOM"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=cf6345f2cb2acee98b01c493d68b8322"
|
|
DEPENDS = "python"
|
|
|
|
# No GPIO mappings for other machines yet
|
|
COMPATIBLE_MACHINE = "olinuxino-a20som"
|
|
|
|
SRC_URI = "http://pypi.python.org/packages/source/p/pyA20SOM/pyA20SOM-${PV}.tar.gz \
|
|
file://setup.py.patch \
|
|
file://mapping.h \
|
|
"
|
|
S = "${WORKDIR}/pyA20SOM-${PV}"
|
|
|
|
inherit distutils
|
|
|
|
do_compile_prepend() {
|
|
cp ${WORKDIR}/mapping.h ${S}/pyA20SOM/gpio/mapping.h
|
|
}
|
|
|
|
SRC_URI[md5sum] = "a720115ef1d3dffe82f42f2157ca1c56"
|
|
SRC_URI[sha256sum] = "1ac1025596cc112964f7caac9a6a523d5da61623c248ccc178c6cbb4bc1b4549"
|