echo "-------------- BUILDING PATCH -----------------" cd $TMP tar xzvf $ORIGPATH/source/patch-2.5.4.tar.gz cd patch-* $ARMCONFIGURE --prefix=/usr make -e CFLAGS="${ARMCFLAGS}" LDFLAGS=-s # Install docs mkdir /usr/doc/patch-2.5.4 install -m644 AUTHORS COPYING INSTALL NEWS README /usr/doc/patch-2.5.4/ mv patch /usr/bin/ install -m644 patch.man /usr/man/man1/patch.1 #EOF