Findutils 4.4.0 for Solaris 2.6.
This commit is contained in:
parent
4a452e45a9
commit
4bc555e6e3
82
findutils/build.sh
Executable file
82
findutils/build.sh
Executable file
@ -0,0 +1,82 @@
|
||||
#!/bin/bash
|
||||
# This is a buildpkg build.sh script
|
||||
# Copyright (C) 2003-2008 Tom G. Christensen <tgc@jupiterrise.com>
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Written by Tom G. Christensen <tgc@jupiterrise.com>.
|
||||
|
||||
# build.sh helper functions
|
||||
. ${BUILDPKG_BASE}/scripts/build.sh.functions
|
||||
#
|
||||
###########################################################
|
||||
# Check the following 4 variables before running the script
|
||||
topdir=findutils
|
||||
version=4.4.0
|
||||
pkgver=1
|
||||
source[0]=$topdir-$version.tar.gz
|
||||
# If there are no patches, simply comment this
|
||||
#patch[0]=
|
||||
|
||||
# Source function library
|
||||
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
|
||||
|
||||
# Global settings
|
||||
export CPPFLAGS="-I$prefix/include"
|
||||
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||
|
||||
reg prep
|
||||
prep()
|
||||
{
|
||||
generic_prep
|
||||
}
|
||||
|
||||
reg build
|
||||
build()
|
||||
{
|
||||
generic_build
|
||||
}
|
||||
|
||||
reg check
|
||||
check()
|
||||
{
|
||||
generic_check
|
||||
}
|
||||
|
||||
reg install
|
||||
install()
|
||||
{
|
||||
generic_install DESTDIR
|
||||
${__rmdir} ${stagedir}${prefix}/var
|
||||
${__rmdir} ${stagedir}${prefix}/${_libdir}
|
||||
${__rm} -f ${stagedir}${prefix}/${_bindir}/oldfind
|
||||
doc AUTHORS COPYING NEWS README THANKS TODO
|
||||
}
|
||||
|
||||
reg pack
|
||||
pack()
|
||||
{
|
||||
generic_pack
|
||||
}
|
||||
|
||||
reg distclean
|
||||
distclean()
|
||||
{
|
||||
clean distclean
|
||||
}
|
||||
|
||||
###################################################
|
||||
# No need to look below here
|
||||
###################################################
|
||||
build_sh $*
|
15
findutils/meta/pkgdef
Normal file
15
findutils/meta/pkgdef
Normal file
@ -0,0 +1,15 @@
|
||||
[findutils]
|
||||
pkgname="${pkgprefix}findu"
|
||||
name="findutils - GNU findutils"
|
||||
pkgcat="application"
|
||||
pkgvendor="http://directory.fsf.org/findutils.html"
|
||||
pkgdesc="Tools to find files and to operate on groups of files"
|
||||
pkgver="$pkgver"
|
||||
files(-,root,bin)
|
||||
default_docs
|
||||
$_bindir/*
|
||||
libexec/*
|
||||
$_infodir/*
|
||||
$_sharedir/locale/*/LC_MESSAGES/findutils.mo
|
||||
$_mandir/*
|
||||
|
27
findutils/meta/relnotes
Normal file
27
findutils/meta/relnotes
Normal 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
|
||||
--------------------
|
Loading…
x
Reference in New Issue
Block a user