mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
ucpp: add recipe
This commit is contained in:
60
sys-devel/ucpp/ucpp-1.3.2.recipe
Normal file
60
sys-devel/ucpp/ucpp-1.3.2.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="A quick and light preprocessor, fully compliant with C99"
|
||||
DESCRIPTION="ucpp is a C preprocessor. It is designed to be quick and light, \
|
||||
but anyway fully compliant to the ISO standard 9899:1999, also known as C99. \
|
||||
ucpp can be compiled as a stand-alone program, or linked to some other code; \
|
||||
in the latter case, ucpp will output tokens, one at a time, on demand, as an \
|
||||
integrated lexer."
|
||||
HOMEPAGE="https://github.com/lpsantil/ucpp"
|
||||
SOURCE_URI="https://dev-www.libreoffice.org/src/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz"
|
||||
CHECKSUM_SHA256="983941d31ee8d366085cadf28db75eb1f5cb03ba1e5853b98f12f7f51c63b776"
|
||||
SOURCE_DIR="ucpp"
|
||||
COPYRIGHT="1999-2002 Thomas Pornin"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ucpp$secondaryArchSuffix = $portVersion
|
||||
cmd:ucpp = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ucpp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libucpp$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make all $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $developLibDir
|
||||
cp libucpp.a $developLibDir
|
||||
|
||||
mkdir -p $binDir
|
||||
cp ucpp $binDir
|
||||
|
||||
mkdir -p $documentationDir/man/man1
|
||||
cp ucpp.1 $documentationDir/man/man1
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user