Makefile 951 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= usbutils
  5. PKG_VERSION:= 0.73
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libusb libusb-compat
  8. PKG_MD5SUM:= 88978b4ad891f610620b1b8e5e0f43eb
  9. PKG_DESCR:= A program to list USB devices
  10. PKG_SECTION:= misc
  11. PKG_DEPENDS:= libusb libusb-compat libpthread
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-usb/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LSUSB,lsusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_LSUSB}/usr/share
  20. ${INSTALL_DATA} ${WRKINST}/usr/share/usb.ids.gz ${IDIR_LSUSB}/usr/share/
  21. ${INSTALL_DIR} ${IDIR_LSUSB}/usr/sbin
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/lsusb ${IDIR_LSUSB}/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk