Makefile 964 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:= 1.9.0
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= e2fsprogs lvm readline
  8. PKG_MD5SUM:= 055305bc7bcf472ce38f9abf69a9d94d
  9. PKG_DESCR:= GNU parted
  10. PKG_DEPENDS:= libuuid libreadline device-mapper
  11. PKG_SECTION:= admin
  12. PKG_URL:= http://www.gnu.org/software/parted/index.shtml
  13. PKG_SITES:= ${MASTER_SITE_GNU:=parted/}
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,PARTED,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} $(IDIR_PARTED)/usr/sbin $(IDIR_PARTED)/usr/lib
  21. ${CP} $(WRKINST)/usr/lib/libparted*so* $(IDIR_PARTED)/usr/lib
  22. ${INSTALL_BIN} $(WRKINST)/usr/sbin/parted $(IDIR_PARTED)/usr/sbin
  23. include ${TOPDIR}/mk/pkg-bottom.mk