name: e2fsprogs kind: chunk build-system: autotools configure-commands: # We disable some components which are duplicated in util-linux, because # the util-linux versions are newer. # # Note that --disable-fsck only disables the 'fsck' wrapper program, not # the fsck.ext2/3/4 programs which we do need from this chunk. - | ./configure --prefix="$PREFIX" --sysconfdir=/etc \ --disable-libuuid --disable-uuidd --disable-libblkid --disable-fsck install-commands: - | # Newer versions of some programs are provided by util-linux. We can't # disable these being built at configure-time, so instead we filter them # out at install-time. # # Removing files from DESTDIR directly causes problems (during a # cross-bootstrap the DESTDIR could be '/') so we use an additional staging # directory. td="$(mktemp -d)" make DESTDIR="$td" install make DESTDIR="$td" install-libs find "$td" \( -name blkid -o -name findfs \) -delete find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete mv "$td"/* "$DESTDIR"