Files
LibreELEC.tv/packages/sysutils/util-linux/build
Stephan Raue 6fb4e0382d util-linux: update to util-linux-2.21.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-31 00:19:55 +02:00

99 lines
3.1 KiB
Bash
Executable File

#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $PKG_BUILD
#scanf_cv_type_modifier=ms \
#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 \
--disable-nls \
--disable-rpath \
--enable-tls \
--enable-libuuid \
--enable-libblkid \
--enable-libmount \
--disable-mount \
--disable-libmount-mount \
--disable-fsck \
--disable-partx \
--enable-uuidd \
--disable-mountpoint \
--disable-fallocate \
--disable-unshare \
--disable-arch \
--disable-ddate \
--disable-agetty \
--disable-cramfs \
--disable-switch-root \
--disable-pivot-root \
--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-selinux \
--without-audit \
--with-udev \
--without-ncurses \
--without-slang \
--without-utempter
make
$MAKEINSTALL
#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