Makefile 965 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libusb
  5. PKG_VERSION:= 1.0.19
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840
  8. PKG_DESCR:= library for accessing usb devices
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://libusb.wiki.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libusb/}
  12. PKG_LIBNAME:= libusb
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBUSB,libusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TARGET_CPPFLAGS= -DTIMESPEC_TO_TIMEVAL=
  18. CONFIGURE_ARGS+= --disable-udev
  19. libusb-install:
  20. ${INSTALL_DIR} ${IDIR_LIBUSB}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB}/usr/lib
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk