diff --git a/coreutils/build.sh b/coreutils/build.sh index 99cecdf..0ad1909 100755 --- a/coreutils/build.sh +++ b/coreutils/build.sh @@ -8,8 +8,8 @@ # # Check the following 4 variables before running the script topdir=coreutils -version=5.0 -pkgver=2 +version=5.2.1 +pkgver=1 source[0]=$topdir-$version.tar.bz2 # If there are no patches, simply comment this #patch[0]= @@ -17,12 +17,6 @@ source[0]=$topdir-$version.tar.bz2 # Source function library . ${HOME}/buildpkg/scripts/buildpkg.functions -# Fill in pkginfo values if necessary -# using pkgname,name,pkgcat,pkgvendor & pkgdesc -name="GNU Coreutils" -pkgvendor="http://www.gnu.org" -pkgdesc="Collection of basic file, shell and text manipulation utilities" - # Define script functions and register them METHODS="" reg() { @@ -38,6 +32,7 @@ prep() reg build build() { + export LDFLAGS="-R/usr/local/lib" generic_build } @@ -45,7 +40,10 @@ reg install install() { generic_install DESTDIR - $RM -f $stagedir$prefix/info/dir + $RM -f ${stagedir}${prefix}/${_infodir}/dir + # We're not installing su so nuke the manpage... + $RM -f ${stagedir}${prefix}/${_mandir}/man1/su.1 + doc NEWS THANKS THANKS-to-translators TODO README AUTHORS ChangeLog } reg pack diff --git a/coreutils/meta/pkgdef b/coreutils/meta/pkgdef new file mode 100644 index 0000000..39b744c --- /dev/null +++ b/coreutils/meta/pkgdef @@ -0,0 +1,9 @@ +[coreutils] +pkgname="$pkgprefix""$topdir" +name="GNU Coreutils" +pkgcat="application" +pkgvendor="http://www.gnu.org" +pkgdesc="Collection of basic file, shell and text manipulation utilities" +pkgver="$pkgver" +files(-,root,bin) +*