imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / libusb / Makefile
blob20ce07b403560fefffb2665ac97783e17b896fa1
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:= libusb
7 PKG_VERSION:= 1.0.19
8 PKG_RELEASE:= 1
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/}
14 PKG_LIBNAME:= libusb
15 PKG_OPTS:= dev
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
29 libusb-install:
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