mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
yelp-xsl, new recipe, dependency for yelp (#13914)
This commit is contained in:
59
gnome-extra/yelp-xsl/yelp_xsl-42.3.recipe
Normal file
59
gnome-extra/yelp-xsl/yelp_xsl-42.3.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
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"
|
||||
#PATCHES="projectx-$portVersion.patchset"
|
||||
#ADDITIONAL_FILES="projectx.rdef"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user