Update to 6.11

This commit is contained in:
Tom G. Christensen 2008-04-26 10:55:49 +00:00 committed by tgc
parent 00dd5398f7
commit f1ba62b367
3 changed files with 47 additions and 57 deletions

View File

@ -3,25 +3,24 @@
# This is a generic build.sh script
# It can be used nearly unmodified with many packages
#
# The concept of "method" registering and the logic that implements it was shamelessly
# stolen from jhlj's Compile.sh script :)
# build.sh helper functions
. ${BUILDPKG_BASE}/scripts/build.sh.functions
#
###########################################################
# Check the following 4 variables before running the script
topdir=coreutils
version=5.2.1
topdir=coreutils
version=6.11
pkgver=1
source[0]=$topdir-$version.tar.bz2
source[0]=$topdir-$version.tar.gz
# If there are no patches, simply comment this
#patch[0]=
# Source function library
. ${HOME}/buildpkg/scripts/buildpkg.functions
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
# Define script functions and register them
METHODS=""
reg() {
METHODS="$METHODS $1"
}
# Global settings
export CPPFLAGS="-I/usr/tgcware/include"
export LDFLAGS="-L/usr/tgcware/lib -R/usr/tgcware/lib"
reg prep
prep()
@ -32,17 +31,19 @@ prep()
reg build
build()
{
export LDFLAGS="-R/usr/local/lib"
generic_build
}
reg check
check()
{
generic_check
}
reg install
install()
{
generic_install DESTDIR
$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
}
@ -61,42 +62,4 @@ distclean()
###################################################
# No need to look below here
###################################################
reg all
all()
{
for METHOD in $METHODS
do
case $METHOD in
all*|*clean) ;;
*) $METHOD
;;
esac
done
}
reg
usage() {
echo Usage $0 "{"$(echo $METHODS | tr " " "|")"}"
exit 1
}
OK=0
for METHOD in $*
do
METHOD=" $METHOD *"
if [ "${METHODS%$METHOD}" == "$METHODS" ] ; then
usage
fi
OK=1
done
if [ $OK = 0 ] ; then
usage;
fi
for METHOD in $*
do
( $METHOD )
done
build_sh $*

View File

@ -1,7 +1,7 @@
[coreutils]
pkgname="$pkgprefix""$topdir"
name="GNU Coreutils"
pkgcat="application"
pkgname="${pkgprefix}coreut"
name="coreutils - GNU coreutils"
pkgcat="system"
pkgvendor="http://www.gnu.org"
pkgdesc="Collection of basic file, shell and text manipulation utilities"
pkgver="$pkgver"

27
coreutils/meta/relnotes Normal file
View File

@ -0,0 +1,27 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%
Source (sha1sum):
%%SOURCE_SHA1SUM%%
BUILD DETAILS
-------------
Compiler:
%%COMPILER%%
Environment:
%%ENVIRONMENT%%
Configure:
%%CONFIGURE%%
KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%
ERRORS/MISCELLANEOUS
--------------------