mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
getconf: Add recipe to build the FreeBSD getconf
We provide a makefile-engine makefile as a patch since the existing makefile requires FreeBSD's buildsystem.
This commit is contained in:
46
sys-apps/getconf/getconf-r260000.recipe
Normal file
46
sys-apps/getconf/getconf-r260000.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="Prints out values of POSIX configuration variables"
|
||||
DESCRIPTION="FreeBSD getconf
|
||||
|
||||
The getconf command prints values of system configuration variables.
|
||||
It is a command interface to the values returned by sysconf(3), confstr(3), and pathconf(3)."
|
||||
HOMEPAGE="http://www.freebsd.org/"
|
||||
COPYRIGHT="2000 Massachusetts Institute of Technology"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="svn+http://svn.freebsd.org/base/head/usr.bin/getconf#260000"
|
||||
#CHECKSUM_MD5=""
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="getconf-makefile.patch"
|
||||
|
||||
PROVIDES="
|
||||
getconf = $portVersion
|
||||
cmd:getconf = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:mkdepend
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export COPYRIGHT
|
||||
export LICENSE
|
||||
export PORT_VERSION=$portVersion
|
||||
make -f makefile.haiku $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -f makefile.haiku install INSTALL_DIR=$binDir
|
||||
mkdir -p $manDir/man1
|
||||
install -m 644 getconf.1 $manDir/man1/
|
||||
}
|
||||
Reference in New Issue
Block a user