PageRenderTime 21ms CodeModel.GetById 11ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

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