python3: update to 3.11.10
[openadk.git] / package / pigpio / Makefile
blobf1398a4f2e08a8c512539d09fb1bb42fc38b2ad6
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= pigpio
7 PKG_VERSION:= 1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c
8 PKG_GIT:= hash
9 PKG_RELEASE:= 1
10 PKG_HASH:= 9d48aa27bb8c9721f5e78f234834ee447934d9a21aeb0a58f123c7be0bb90126
11 PKG_DESCR:= IO library for the raspberry PI
12 PKG_SECTION:= libs/misc
13 PKG_NEEDS:= c++
14 PKG_URL:= http://joan2937.github.io/pigpio/
15 PKG_SITES:= https://github.com/joan2937/pigpio.git
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,PIGPIO,pigpio,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIG_STYLE:= manual
22 BUILD_STYLE:= manual
23 INSTALL_STYLE:= manual
25 post-build:
26 $(INSTALL_DIR) ${WRKINST}/usr/include/pigpio
27 $(CP) ${WRKBUILD}/pigpio.h \
28 ${WRKINST}/usr/include/pigpio
29 $(INSTALL_DIR) ${WRKINST}/usr/lib
30 $(CP) ${WRKBUILD}/libpigpio.so \
31 ${WRKINST}/usr/lib
33 do-build:
34 cd $(WRKBUILD) && CROSS_PREFIX=${TARGET_CROSS} DESTDIR=$(WRKINST) prefix=${WRKINST}/usr ${MAKE}
36 do-install:
37 ${INSTALL_DIR} ${IDIR_PIGPIO}/usr/lib
38 ${CP} ${WRKINST}/usr/lib/libpigpio.so ${IDIR_PIGPIO}/usr/lib/
40 include ${ADK_TOPDIR}/mk/pkg-bottom.mk