mesa: update to 17.2.2
[openadk.git] / package / parted / Makefile
blob1910956f75b938241c57d2476e667b1fa7fa7ed4
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
6 PKG_NAME:= parted
7 PKG_VERSION:= 3.2
8 PKG_RELEASE:= 3
9 PKG_HASH:= 858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4
10 PKG_DESCR:= partition table editor
11 PKG_SECTION:= sys/fs
12 PKG_DEPENDS:= libblkid libuuid libncurses
13 PKG_BUILDDEP:= util-linux ncurses
14 PKG_NEEDS:= threads
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
24 endif
26 CONFIGURE_ARGS+= --disable-device-mapper \
27 --without-readline
29 parted-install:
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
33 endif
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