mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
discount: bump version.
This commit is contained in:
93
app-text/discount/discount-2.2.2.recipe
Normal file
93
app-text/discount/discount-2.2.2.recipe
Normal file
@@ -0,0 +1,93 @@
|
||||
SUMMARY="An implementation of John Gruber's Markdown text to html language"
|
||||
DESCRIPTION="Markdown provides a library that gives you formatting functions \
|
||||
suitable for marking down entire documents or lines of text, a command-line \
|
||||
program that you can use to mark down documents interactively or from a \
|
||||
script, and a tiny (3 programs so far) suite of example programs that show \
|
||||
how to fully utilize the markdown library."
|
||||
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
|
||||
COPYRIGHT="2007-2016 David Loren Parsons"
|
||||
LICENSE="BSD (4-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.pell.portland.or.us/~orc/Code/discount/discount-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="ec7916731e3ef8516336333f8b7aa9e2af51e57c0017b1e03fa43f1ba6978f64"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
discount$secondaryArchSuffix = $portVersion
|
||||
lib:libmarkdown$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
PROVIDES="$PROVIDES
|
||||
cmd:markdown$secondaryArchSuffix = $portVersion compat >= 2
|
||||
cmd:makepage$secondaryArchSuffix = $portVersion compat >= 2
|
||||
cmd:mkd2html$secondaryArchSuffix = $portVersion compat >= 2
|
||||
cmd:theme$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
fi
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
discount${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmarkdown$secondaryArchSuffix = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
discount$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:ar$secondaryArchSuffix
|
||||
cmd:awk
|
||||
cmd:diff
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:ranlib$secondaryArchSuffix
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure.sh --prefix=$prefix \
|
||||
--execdir=$binDir \
|
||||
--sbindir=$sbinDir \
|
||||
--confdir=$settingsDir \
|
||||
--libdir=$libDir \
|
||||
--libexecdir=$libExecDir \
|
||||
--mandir=$manDir \
|
||||
--shared
|
||||
make INCDIR=$includeDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install.everything INCDIR=$includeDir
|
||||
|
||||
prepareInstalledDevelLib libmarkdown
|
||||
fixPkgconfig
|
||||
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
maybe_manDir_man3=$manDir/man3
|
||||
else
|
||||
maybe_manDir_man3=
|
||||
rm -rf $binDir
|
||||
rm -rf $documentationDir
|
||||
fi
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$maybe_manDir_man3
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user