Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= pcmciautils
  5. PKG_VERSION:= 018
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b94b71347fa11b7c0eb8dae034b5f7f649b135ffacb80cf60572a5bcb118f095
  8. PKG_DESCR:= utilities for pcmcia subsystem
  9. PKG_SECTION:= sys/utils
  10. PKG_BUILDDEP:= sysfsutils bison-host flex-host
  11. PKG_URL:= http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
  12. PKG_SITES:= http://www.kernel.org/pub/linux/utils/kernel/pcmcia/
  13. PKG_CFLINE_PCMCIAUTILS:=depends on ADK_TARGET_WITH_CARDBUS
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PCMCIAUTILS,pcmciautils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE= manual
  18. pcmciautils-install:
  19. $(INSTALL_DIR) $(IDIR_PCMCIAUTILS)/etc/pcmcia
  20. $(INSTALL_DATA) ./files/config.opts \
  21. $(IDIR_PCMCIAUTILS)/etc/pcmcia
  22. $(INSTALL_DIR) $(IDIR_PCMCIAUTILS)/usr/sbin
  23. $(INSTALL_BIN) $(WRKINST)/sbin/pccardctl \
  24. $(IDIR_PCMCIAUTILS)/usr/sbin
  25. $(INSTALL_BIN) $(WRKINST)/lib/udev/pcmcia-socket-startup \
  26. $(IDIR_PCMCIAUTILS)/usr/sbin
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk