~carbslinux/repository

ref: 2356b251838cdb86fbd0c0a602f5d7e3f53ba6f3 repository/core/util-linux/build -rwxr-xr-x 508 bytes
2356b251Cem Keylan gcc: bump to 11.2.0 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --localstatedir=/var \
    --bindir=/usr/bin \
    --sbindir=/usr/bin \
    --libdir=/usr/lib \
    --enable-libuuid \
    --enable-libblkid \
    --enable-fsck \
    --disable-makeinstall-chown \
    --disable-rpath \
    --without-udev \
    --without-python \
    --without-systemd

make
make DESTDIR="$1" install

# For some reason util-linux installs
# to the sbindir even when we tell it
# not to.
mv "$1/usr/sbin/"* "$1/usr/bin"
rmdir "$1/usr/sbin"