Makefile 879 B

123456789101112131415161718192021222324252627
  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:= usbutils
  5. PKG_VERSION:= 008
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 44741af0bae9d402a0ef160a29b2fa700bb656ab5e0a4b3343d51249c2a44c8c
  8. PKG_DESCR:= program to list usb devices
  9. PKG_SECTION:= sys/hw
  10. PKG_DEPENDS:= libusb libusb-compat libpthread zlib librt
  11. PKG_BUILDDEP:= libusb libusb-compat zlib eudev
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/usb/usbutils/
  13. PKG_BB:= 1
  14. PKG_SUBPKGS:= LSUSB
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LSUSB,lsusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. lsusb-install:
  18. ${INSTALL_DIR} ${IDIR_LSUSB}/usr/bin
  19. ${INSTALL_BIN} ${WRKINST}/usr/bin/lsusb ${IDIR_LSUSB}/usr/bin
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk