Makefile 892 B

12345678910111213141516171819202122232425262728293031323334
  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. DISTFILES:= LVM2.${PKG_VERSION}.tgz
  11. MASTER_SITES:= ftp://sources.redhat.com/pub/lvm2/
  12. WRKDIST= ${WRKDIR}/LVM2.${PKG_VERSION}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LVM,lvm,${PKG_VERSION}-${PKG_RELEASE}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ARGS+= --with-user="" --with-group="" \
  17. --with-optimisation="" \
  18. --with-lvm1=none \
  19. --enable-static_link \
  20. --with-kernel-dir=${LINUX_DIR}
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LVM}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/lvm.static ${IDIR_LVM}/usr/sbin/lvm
  26. include ${TOPDIR}/mk/pkg-bottom.mk