Makefile 994 B

123456789101112131415161718192021222324252627282930
  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:= parted
  5. PKG_VERSION:= 3.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 5d89d64d94bcfefa9ce8f59f4b81bdcb
  8. PKG_DESCR:= partition table editor
  9. PKG_SECTION:= fs
  10. PKG_DEPENDS:= libuuid libreadline libpthread libgcc
  11. PKG_BUILDDEP:= util-linux readline
  12. PKG_URL:= http://www.gnu.org/software/parted/index.shtml
  13. PKG_SITES:= ${MASTER_SITE_GNU:=parted/}
  14. DISTFILES:= ${PKG_NAME}-$(PKG_VERSION).tar.xz
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PARTED,parted,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --disable-device-mapper
  18. parted-install:
  19. ${INSTALL_DIR} $(IDIR_PARTED)/usr/sbin $(IDIR_PARTED)/usr/lib
  20. ${CP} $(WRKINST)/usr/lib/libparted*so* $(IDIR_PARTED)/usr/lib
  21. ${INSTALL_BIN} $(WRKINST)/usr/sbin/parted $(IDIR_PARTED)/usr/sbin
  22. include ${TOPDIR}/mk/pkg-bottom.mk