Files
haikuports/dev-util/lxqt_build_tools/lxqt_build_tools-0.6.0.recipe
2019-01-30 22:58:39 +03:00

71 lines
2.1 KiB
Bash

SUMMARY="Various packaging tools and scripts for LXQt applications"
DESCRIPTION="This package provides several tools needed to build LXQt itself \
as well as other components maintained by the LXQt project.
These tools used to be spread over the repositories of various other \
components and were summarized to ease dependency management. So far \
many components, in particular liblxqt, were representing a build \
dependency without being needed themselves but only because their \
repository was providing a subset of the tools which are now \
summarized here. So the use of this repository will reduce \
superfluous and bloated dependencies."
HOMEPAGE="https://lxqt.org/"
COPYRIGHT="2017-2019, LXQt and Razor teams"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/lxqt/lxqt-build-tools/releases/download/$portVersion/lxqt-build-tools-$portVersion.tar.xz"
CHECKSUM_SHA256="2488f1105ba8008996b4f6a0df5c556c657c733a47a422ea3f2e59115c051758"
SOURCE_DIR="lxqt-build-tools-$portVersion"
ARCHITECTURES="x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
lxqt_build_tools$secondaryArchSuffix = $portVersion
cmd:lxqt_transupdate$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Script$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5Script$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_DATAROOTDIR=$libDir \
-DCMAKE_INSTALL_BINDIR=$binDir
make $jobArgs
}
INSTALL()
{
cd build
make install
}