From subsecret
attr
Extract tar.gz and patches from source RPM
rpm2cpio attr-2.4.44-6.fc14.src.rpm | cpio -idmv tar xf attr-2.4.44.src.tar.gz mv attr*.patch attr-2.4.44/ cd attr-2.4.44/ patch -p1 < attr-2.4.32-build.patch patch -p1 < attr-2.4.43-leak.patch patch -p1 < attr-2.4.44-bz587516.patch patch -p1 < attr-2.4.44-bz650539.patch patch -p1 < attr-2.4.44-bz660613.patch patch -p1 < attr-2.4.44-bz660619.patch patch -p1 < attr-2.4.44-tests.patch patch -p1 < attr-2.4.44-warnings.patch ./configure --prefix=/tools make -j 12
Since "make install" is broken, we manually copy files
cd libattr cd .libs cp *.la /tools/lib/ cp *.so* /tools/lib/ cd .. cd .. cd include mkdir /tools/include/attr cp attributes.h error_context.h libattr.h xattr.h /tools/include/attr cd .. cd ..
coreutils
tar xf coreutils-8.10.tar.gz cd coreutils-8.10 ./configure --without-gmp --without-selinux --prefix=/tools/ make -j 12 make install cd ..
We are now ready for next step