New upstream release
Converted to new pkgdef style
This commit is contained in:
parent
fb17de193d
commit
9c53fde458
@ -8,8 +8,8 @@
|
|||||||
#
|
#
|
||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=coreutils
|
topdir=coreutils
|
||||||
version=5.0
|
version=5.2.1
|
||||||
pkgver=2
|
pkgver=1
|
||||||
source[0]=$topdir-$version.tar.bz2
|
source[0]=$topdir-$version.tar.bz2
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
#patch[0]=
|
#patch[0]=
|
||||||
@ -17,12 +17,6 @@ source[0]=$topdir-$version.tar.bz2
|
|||||||
# Source function library
|
# Source function library
|
||||||
. ${HOME}/buildpkg/scripts/buildpkg.functions
|
. ${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
|
# Define script functions and register them
|
||||||
METHODS=""
|
METHODS=""
|
||||||
reg() {
|
reg() {
|
||||||
@ -38,6 +32,7 @@ prep()
|
|||||||
reg build
|
reg build
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
export LDFLAGS="-R/usr/local/lib"
|
||||||
generic_build
|
generic_build
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +40,10 @@ reg install
|
|||||||
install()
|
install()
|
||||||
{
|
{
|
||||||
generic_install DESTDIR
|
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
|
reg pack
|
||||||
|
9
coreutils/meta/pkgdef
Normal file
9
coreutils/meta/pkgdef
Normal file
@ -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)
|
||||||
|
*
|
Loading…
x
Reference in New Issue
Block a user