[Clc-crux64] CRUX Base64 \ coreutils

David M. Strang dstrang at shellpower.net
Sun Dec 18 19:43:41 UTC 2005


The patch file is missing from this port.

# $Id: Pkgfile,v 1.6 2005/11/26 11:51:50 danm Exp $
# Previous packager: Per Lidén, per at fukt dot bth dot se
# Maintainer: Daniel Mueller, daniel at danm dot de
# Description: A collection of core GNU utilities
# URL: http://www.gnu.org/software/coreutils/

name=coreutils
version=5.93
release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
 $name-$version.patch)

build() {
    cd $name-$version
    patch -p1 < $SRC/$name-$version.patch
    DEFAULT_POSIX2_VERSION=199209 \
    ./configure --prefix=/usr \
  --mandir=/usr/man \
  --disable-nls \
  --disable-assert
    make
    make DESTDIR=$PKG install
    mkdir $PKG/bin
    mv 
$PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir} 
$PKG/bin
    mv 
$PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} 
$PKG/bin
    rm $PKG/usr/bin/hostname $PKG/usr/man/man1/hostname.1  # conflicts with 
net-tools
    rm $PKG/usr/bin/uptime $PKG/usr/man/man1/uptime.1      # conflicts with 
procps
    rm $PKG/usr/bin/su $PKG/usr/man/man1/su.1              # conflicts with 
shadow
    rm $PKG/usr/bin/groups $PKG/usr/man/man1/groups.1      # conflicts with 
shadow
    rm $PKG/usr/bin/kill $PKG/usr/man/man1/kill.1          # conflicts with 
util-linux
    rm -rf $PKG/usr/share $PKG/usr/lib
}


Is the patch the same as the one on the normal base tree? 
coreutils-5.93-uname.patch?
Thanks!

--David 




More information about the crux64 mailing list