Makefile 1.0 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= lvm
  5. PKG_VERSION:= 2.02.45
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 440daa01b8f2ec4fe97b1cc621108220
  8. PKG_DESCR:= logical volume management
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://sourceware.org/lvm2/
  11. PKG_SITES:= ftp://sources.redhat.com/pub/lvm2/
  12. DISTFILES:= LVM2.${PKG_VERSION}.tgz
  13. WRKDIST= ${WRKDIR}/LVM2.${PKG_VERSION}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --with-user="" --with-group="" \
  18. --with-optimisation="" \
  19. --with-lvm1=none \
  20. --enable-static_link \
  21. --with-kernel-dir=${LINUX_DIR}
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_LVM}/usr/sbin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/lvm.static ${IDIR_LVM}/usr/sbin/lvm
  27. include ${TOPDIR}/mk/pkg-bottom.mk