X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=shadow%2FPkgfile;h=8a06859685621178447d9c1beef8c948ac7dcf7d;hb=409d70d3a79af22e7342f5e34094a9584ac4f34e;hp=5b41185f47cb3c78ddbbbb31ff7f9d155166f345;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 5b41185..8a06859 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -1,20 +1,23 @@ # Description: Shadow password file utilities # URL: http://pkg-shadow.alioth.debian.org/ # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=shadow -version=4.1.4.1 +version=4.4 release=1 -source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2 \ +source=(http://crux.nu/files/distfiles/$name-$version.tar.xz pwck login.defs) build() { - cd $name-$version - cat > config.cache << EOF -ac_cv_func_setpgrp_void=yes -EOF + cd $name-upstream-$version + + echo "ac_cv_func_setpgrp_void=yes" >> config.cache + + # Fix first configure to point to the right place + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i aclocal.m4 + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -28,6 +31,9 @@ EOF --without-audit \ --cache-file=config.cache + # Forcing libtool to prioritize our sysroot + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i libtool + make make DESTDIR=$PKG install