Advertisement
svenhoefer

Untitled

Feb 21st, 2021
2,717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.39 KB | None | 0 0
  1. UTIL_LINUX_VER    = 2.36.2
  2. UTIL_LINUX_DIR    = util-linux-$(UTIL_LINUX_VER)
  3. UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VER).tar.xz
  4. UTIL_LINUX_SITE   = $(KERNEL_MIRROR)/linux/utils/util-linux/v$(basename $(UTIL_LINUX_VER))
  5.  
  6. $(DL_DIR)/$(UTIL_LINUX_SOURCE):
  7.     $(DOWNLOAD) $(UTIL_LINUX_SITE)/$(UTIL_LINUX_SOURCE)
  8.  
  9. UTIL_LINUX_DEPS = ncurses zlib
  10.  
  11. UTIL_LINUX_AUTORECONF = YES
  12.  
  13. UTIL_LINUX_CONF_OPTS = \
  14.     --includedir=$(includedir) \
  15.     --libdir=$(libdir) \
  16.     --runstatedir=$(runstatedir) \
  17.     --localedir=$(REMOVE_localedir) \
  18.     --docdir=$(REMOVE_docdir) \
  19.     --disable-gtk-doc \
  20.     \
  21.     --disable-all-programs \
  22.     \
  23.     --enable-libfdisk \
  24.     --enable-libsmartcols \
  25.     --enable-libuuid \
  26.     --enable-libblkid \
  27.     --enable-libmount \
  28.     \
  29.     --disable-makeinstall-chown \
  30.     --disable-makeinstall-setuid \
  31.     --disable-makeinstall-chown \
  32.     \
  33.     --without-audit \
  34.     --without-cap-ng \
  35.     --without-btrfs \
  36.     --without-ncursesw \
  37.     --without-python \
  38.     --without-readline \
  39.     --without-slang \
  40.     --without-smack \
  41.     --without-libmagic \
  42.     --without-systemd \
  43.     --without-systemdsystemunitdir \
  44.     --without-tinfo \
  45.     --without-udev \
  46.     --without-utempter
  47.  
  48. util-linux: $(UTIL_LINUX_DEPS) $(DL_DIR)/$(UTIL_LINUX_SOURCE) | $(TARGET_DIR)
  49.     $(REMOVE)/$(PKG_DIR)
  50.     $(UNTAR)/$(PKG_SOURCE)
  51.     $(CHDIR)/$(PKG_DIR); \
  52.         $(CONFIGURE); \
  53.         $(MAKE); \
  54.         $(MAKE) install DESTDIR=$(TARGET_DIR)
  55.     $(REWRITE_LIBTOOL)
  56.     $(REMOVE)/$(PKG_DIR)
  57.     $(TOUCH)
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement