/packages/sysutils/util-linux/build

http://github.com/OpenELEC/OpenELEC.tv · Shell · 92 lines · 66 code · 5 blank · 21 comment · 0 complexity · 14eae6e5a70162007f5a80b901017485 MD5 · raw file

  1. #!/bin/sh
  2. ################################################################################
  3. # This file is part of OpenELEC - http://www.openelec.tv
  4. # Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
  5. #
  6. # This Program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10. #
  11. # This Program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with OpenELEC.tv; see the file COPYING. If not, write to
  18. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19. # http://www.gnu.org/copyleft/gpl.html
  20. ################################################################################
  21. . config/options $1
  22. cd $PKG_BUILD
  23. gt_cv_func_gnugettext1_libintl=no \
  24. ./configure --host=$TARGET_NAME \
  25. --build=$HOST_NAME \
  26. --prefix=/usr \
  27. --bindir=/usr/bin \
  28. --sbindir=/usr/bin \
  29. --disable-silent-rules \
  30. --enable-shared \
  31. --disable-static \
  32. --disable-gtk-doc \
  33. --enable-tls \
  34. --disable-mount \
  35. --disable-fsck \
  36. --disable-partx \
  37. --enable-libuuid \
  38. --enable-uuidd \
  39. --enable-libblkid \
  40. --disable-libmount \
  41. --disable-mountpoint \
  42. --enable-nls \
  43. --disable-rpath \
  44. --disable-arch \
  45. --disable-ddate \
  46. --disable-agetty \
  47. --disable-cramfs \
  48. --disable-switch-root \
  49. --disable-pivot-root \
  50. --disable-fallocate \
  51. --disable-unshare \
  52. --disable-elvtune \
  53. --disable-kill \
  54. --disable-last \
  55. --disable-line \
  56. --disable-mesg \
  57. --disable-raw \
  58. --disable-rename \
  59. --disable-reset \
  60. --disable-login-utils \
  61. --disable-schedutils \
  62. --disable-wall \
  63. --disable-write \
  64. --enable-chsh-only-listed \
  65. --disable-login-chown-vcs \
  66. --disable-login-stat-mail \
  67. --disable-pg-bell \
  68. --disable-require-password \
  69. --disable-use-tty-group \
  70. --disable-makeinstall-chown \
  71. --disable-makeinstall-setuid \
  72. --with-gnu-ld \
  73. --without-ncurses \
  74. --without-slang \
  75. --without-utempter \
  76. --without-pam \
  77. --without-selinux \
  78. --without-audit
  79. make -C fsck fsck
  80. make -C mount swapon
  81. make -C misc-utils blkid
  82. make -C sys-utils fstrim
  83. make -C libuuid
  84. make -C libblkid
  85. # libuuid must be installed before libblkid!!!
  86. $MAKEINSTALL -C libuuid
  87. $MAKEINSTALL -C libblkid