mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
58 lines
1.1 KiB
Bash
58 lines
1.1 KiB
Bash
SUMMARY="XSL stylesheets for yelp"
|
|
DESCRIPTION="Document transformations from Yelp."
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/yelp-xsl"
|
|
COPYRIGHT="2004 Shaun McCance"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitlab.gnome.org/GNOME/yelp-xsl/-/archive/$portVersion/yelp-xsl-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="741e5839ecbf5121045a0c58f92fc1326ee12d25aac6c91643f58dbb508ad83a"
|
|
SOURCE_DIR="yelp-xsl-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
yelp_xsl$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libintl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:itstool
|
|
cmd:meson
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
cmd:msgmerge$secondaryArchSuffix
|
|
cmd:ninja
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xsltproc
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson --buildtype=release \
|
|
--prefix=$prefix \
|
|
--bindir=$commandBinDir \
|
|
build
|
|
|
|
ninja -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
ninja -C build install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|