name=coreutils
version=8.4
-release=1
+release=2
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz
coreutils-uname.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/coreutils-uname.patch
- touch man/{uname,hostname,hostid,arch,chroot,nice,who}.1
+
+ for f in $(find man/ -type f -name '*.x' -exec basename {} .x \;); do
+ touch $f
+ done
cat > config.cache <<EOF
ac_cv_search_clock_gettime=no
--host=$CTARGET \
--prefix=/usr \
--mandir=/usr/man
+
+ touch doc/m4.1
+
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
-rwxr-xr-x root/root usr/share/vim/tools/ref
-rw-r--r-- root/root usr/share/vim/tools/shtags.1
-rwxr-xr-x root/root usr/share/vim/tools/shtags.pl
+-rw-r--r-- root/root usr/share/vim/tools/unicode.vim
-rwxr-xr-x root/root usr/share/vim/tools/vim132
-rw-r--r-- root/root usr/share/vim/tools/vim_vs_net.cmd
-rwxr-xr-x root/root usr/share/vim/tools/vimm