1
0

Makefile 913 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:= libusb-compat
  5. PKG_VERSION:= 0.1.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2780b6a758a1e2c2943bdbf7faf740e4
  8. PKG_DESCR:= library for accessing usb devices
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= libusb
  11. PKG_URL:= http://www.libusb.org/wiki/libusb-compat-0.1
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=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_COMPAT,libusb-compat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. libusb-compat-install:
  18. ${INSTALL_DIR} ${IDIR_LIBUSB_COMPAT}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB_COMPAT}/usr/lib
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk