Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= device-mapper
  7. PKG_VERSION:= 1.02.28
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= c9ae0776994a419f9e1ba842164bb626
  10. PKG_DESCR:= device mapper tools and libraries
  11. PKG_SECTION:= utils
  12. PKG_URL:= http://sources.redhat.com/dm
  13. PKG_SITES:= ftp://sources.redhat.com/pub/dm/
  14. DISTFILES:= ${PKG_NAME}.${PKG_VERSION}.tgz
  15. WRKDIST= ${WRKDIR}/${PKG_NAME}.${PKG_VERSION}
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,DEVICE_MAPPER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ARGS+= --with-user="" --with-group="" \
  20. --with-optimisation="" \
  21. --with-kernel-dir=${LINUX_DIR}
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. INSTALL_TARGET+= install_static_lib
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_DEVICE_MAPPER}/usr/sbin ${IDIR_DEVICE_MAPPER}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libdevmapper.so* \
  28. ${IDIR_DEVICE_MAPPER}/usr/lib
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/dmsetup \
  30. ${IDIR_DEVICE_MAPPER}/usr/sbin
  31. include ${TOPDIR}/mk/pkg-bottom.mk