[PATCH] coreutils: Patch to don't build man pages (provided in a new source).
name=coreutils version=8.4 -release=3 +release=4 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz - coreutils-uname.patch) + coreutils-uname.patch \ + coreutils-8.4_manpages.tar.bz2) build() { cd $name-$version patch -p1 -i $SRC/coreutils-uname.patch - - for f in $(find man/ -type f -name '*.x' -exec basename {} .x \;); do - touch $f $f.1 - done + sed "s|SUBDIRS = lib src doc man po tests gnulib-tests|SUBDIRS = lib src tests gnulib-tests|g" -i Makefile.in cat > config.cache <<EOF ac_cv_search_clock_gettime=no @@ -50,5 +48,5 @@ EOF install -d $PKG/bin mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin - rm -r $PKG/usr/share + mv $SRC/usr/man $PKG/usr/ }
Hi Victor, On 06/07/10 14:46, Victor@crux-arm.nu wrote:
name=coreutils version=8.4 -release=3 +release=4 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz - coreutils-uname.patch) + coreutils-uname.patch \ + coreutils-8.4_manpages.tar.bz2)
build() { cd $name-$version patch -p1 -i $SRC/coreutils-uname.patch - - for f in $(find man/ -type f -name '*.x' -exec basename {} .x \;); do - touch $f $f.1 - done + sed "s|SUBDIRS = lib src doc man po tests gnulib-tests|SUBDIRS = lib src tests gnulib-tests|g" -i Makefile.in
cat> config.cache<<EOF ac_cv_search_clock_gettime=no @@ -50,5 +48,5 @@ EOF install -d $PKG/bin mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin - rm -r $PKG/usr/share + mv $SRC/usr/man $PKG/usr/ } +1
I like the idea and the patch seems fine to me, but just a note, I prefer to use a distfile location for the tarball (e.g. http://crux-arm.nu/files/distfiles/coreutils-8.4_manpages.tar.bz2) instead of pushing that file to git. What do you think? Regards, -- Jose V Beneyto | http://sepen.mine.nu/
* Jose V Beneyto (sepen@crux-arm.nu) wrote:
Hi Victor,
On 06/07/10 14:46, Victor@crux-arm.nu wrote:
name=coreutils version=8.4 -release=3 +release=4 source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz - coreutils-uname.patch) + coreutils-uname.patch \ + coreutils-8.4_manpages.tar.bz2)
build() { cd $name-$version patch -p1 -i $SRC/coreutils-uname.patch - - for f in $(find man/ -type f -name '*.x' -exec basename {} .x \;); do - touch $f $f.1 - done + sed "s|SUBDIRS = lib src doc man po tests gnulib-tests|SUBDIRS = lib src tests gnulib-tests|g" -i Makefile.in
cat> config.cache<<EOF ac_cv_search_clock_gettime=no @@ -50,5 +48,5 @@ EOF install -d $PKG/bin mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin - rm -r $PKG/usr/share + mv $SRC/usr/man $PKG/usr/ } +1
I like the idea and the patch seems fine to me, but just a note, I prefer to use a distfile location for the tarball (e.g. http://crux-arm.nu/files/distfiles/coreutils-8.4_manpages.tar.bz2) instead of pushing that file to git. What do you think?
Great, better. I will take a look and I will push the changes along this day. Regards, Victor. --- Learning bit by bit Victor Martinez | http://lokalix.dyndns.org
participants (3)
-
Jose V Beneyto
-
pitillo@crux-arm.nu
-
Victor Martinez