Makefile 936 B

1234567891011121314151617181920212223242526272829
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= usbutils
  5. PKG_VERSION:= 006
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c9aa14ee3d6c991fda183f42cf72a8a8
  8. PKG_DESCR:= program to list USB devices
  9. PKG_SECTION:= utils
  10. PKG_DEPENDS:= libusb libusb-compat libpthread zlib librt
  11. PKG_BUILDDEP:= libusb libusb-compat zlib
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/usb/usbutils/
  13. PKG_SUBPKGS:= LSUSB
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LSUSB,lsusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. lsusb-install:
  17. ${INSTALL_DIR} ${IDIR_LSUSB}/usr/share
  18. ${INSTALL_DATA} ${WRKINST}/usr/share/usb.ids.gz \
  19. ${IDIR_LSUSB}/usr/share/
  20. ${INSTALL_DIR} ${IDIR_LSUSB}/usr/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/lsusb ${IDIR_LSUSB}/usr/bin
  22. include ${TOPDIR}/mk/pkg-bottom.mk