wget https://x.org/releases/individual/lib/libX11-1.7.2.tar.bz2
tar -xf libX11-1.7.2.tar.bz2
cd libX11-1.7.2

CFLAGS_FOR_BUILD=-fPIC \
./configure \
    --prefix=/usr \
    --without-xmlto \
    --disable-specs \
    --enable-static

make
make DESTDIR="$1" install