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
7 PKG_VERSION
:= 1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c
10 PKG_HASH
:= 9d48aa27bb8c9721f5e78f234834ee447934d9a21aeb0a58f123c7be0bb90126
11 PKG_DESCR
:= IO library for the raspberry PI
12 PKG_SECTION
:= libs
/misc
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}))
23 INSTALL_STYLE
:= manual
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 \
34 cd
$(WRKBUILD
) && CROSS_PREFIX
=${TARGET_CROSS} DESTDIR
=$(WRKINST
) prefix=${WRKINST}/usr
${MAKE}
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