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
9 PKG_HASH
:= 6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840
10 PKG_DESCR
:= library for accessing usb devices
11 PKG_SECTION
:= libs
/misc
12 PKG_URL
:= http
://libusb.wiki.sourceforge.net
/
13 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=libusb
/}
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
19 include ${ADK_TOPDIR}/mk
/host.mk
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call HOST_template
,LIBUSB
,libusb
,${PKG_VERSION}-${PKG_RELEASE}))
23 $(eval
$(call PKG_template
,LIBUSB
,libusb
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 TARGET_CPPFLAGS
= -DTIMESPEC_TO_TIMEVAL
=
26 HOST_CONFIGURE_ARGS
+= --disable-udev
27 CONFIGURE_ARGS
+= --disable-udev
30 ${INSTALL_DIR} ${IDIR_LIBUSB}/usr
/lib
31 ${CP} ${WRKINST}/usr
/lib
/libusb
*.so
* ${IDIR_LIBUSB}/usr
/lib
33 include ${ADK_TOPDIR}/mk
/host-bottom.mk
34 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk