1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
10 PKG_DESCR
:= partition table editor
12 PKG_DEPENDS
:= libblkid libuuid libncurses
13 PKG_BUILDDEP
:= util-linux ncurses
15 PKG_URL
:= http
://www.gnu.org
/software
/parted
/index.shtml
16 PKG_SITES
:= $(MASTER_SITE_GNU
:=parted
/)
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,PARTED
,parted
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
22 ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY
),y
)
23 CONFIGURE_ARGS
+= --disable-dynamic-loading
26 CONFIGURE_ARGS
+= --disable-device-mapper \
30 ifneq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY
),y
)
31 $(INSTALL_DIR
) $(IDIR_PARTED
)/usr
/lib
32 $(CP
) $(WRKINST
)/usr
/lib
/libparted
*so
* $(IDIR_PARTED
)/usr
/lib
34 $(INSTALL_DIR
) $(IDIR_PARTED
)/usr
/sbin
35 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/parted
$(IDIR_PARTED
)/usr
/sbin
36 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/partprobe
$(IDIR_PARTED
)/usr
/sbin
38 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk