Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= lvm
  7. PKG_VERSION:= 2.02.45
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 440daa01b8f2ec4fe97b1cc621108220
  10. PKG_DESCR:= logical volume management
  11. PKG_SECTION:= utils
  12. PKG_URL:= http://sourceware.org/lvm2/
  13. PKG_SITES:= ftp://sources.redhat.com/pub/lvm2/
  14. DISTFILES:= LVM2.${PKG_VERSION}.tgz
  15. WRKDIST= ${WRKDIR}/LVM2.${PKG_VERSION}
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LVM,${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-lvm1=none \
  22. --enable-static_link \
  23. --with-kernel-dir=${LINUX_DIR}
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_LVM}/usr/sbin
  28. ${INSTALL_BIN} ${WRKINST}/usr/sbin/lvm.static ${IDIR_LVM}/usr/sbin/lvm
  29. include ${TOPDIR}/mk/pkg-bottom.mk