/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
- #!/bin/sh
- ################################################################################
- # This file is part of OpenELEC - http://www.openelec.tv
- # Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
- #
- # This Program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
- #
- # This Program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with OpenELEC.tv; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- # http://www.gnu.org/copyleft/gpl.html
- ################################################################################
- . config/options $1
- cd $PKG_BUILD
- gt_cv_func_gnugettext1_libintl=no \
- ./configure --host=$TARGET_NAME \
- --build=$HOST_NAME \
- --prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/bin \
- --disable-silent-rules \
- --enable-shared \
- --disable-static \
- --disable-gtk-doc \
- --enable-tls \
- --disable-mount \
- --disable-fsck \
- --disable-partx \
- --enable-libuuid \
- --enable-uuidd \
- --enable-libblkid \
- --disable-libmount \
- --disable-mountpoint \
- --enable-nls \
- --disable-rpath \
- --disable-arch \
- --disable-ddate \
- --disable-agetty \
- --disable-cramfs \
- --disable-switch-root \
- --disable-pivot-root \
- --disable-fallocate \
- --disable-unshare \
- --disable-elvtune \
- --disable-kill \
- --disable-last \
- --disable-line \
- --disable-mesg \
- --disable-raw \
- --disable-rename \
- --disable-reset \
- --disable-login-utils \
- --disable-schedutils \
- --disable-wall \
- --disable-write \
- --enable-chsh-only-listed \
- --disable-login-chown-vcs \
- --disable-login-stat-mail \
- --disable-pg-bell \
- --disable-require-password \
- --disable-use-tty-group \
- --disable-makeinstall-chown \
- --disable-makeinstall-setuid \
- --with-gnu-ld \
- --without-ncurses \
- --without-slang \
- --without-utempter \
- --without-pam \
- --without-selinux \
- --without-audit
- make -C fsck fsck
- make -C mount swapon
- make -C misc-utils blkid
- make -C sys-utils fstrim
- make -C libuuid
- make -C libblkid
- # libuuid must be installed before libblkid!!!
- $MAKEINSTALL -C libuuid
- $MAKEINSTALL -C libblkid