mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
SUMMARY="Cue File library from Musepack"
|
|
DESCRIPTION="A library to work with CUE files
|
|
"
|
|
ARCHITECTURES="x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
REVISION="1"
|
|
HOMEPAGE="https://www.musepack.net"
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="1997-2011 Musepack Project"
|
|
|
|
SRC_URI="http://files.musepack.net/source/libcuefile_r475.tar.gz"
|
|
SOURCE_DIR="libcuefile_r475"
|
|
CHECKSUM_SHA256="b681ca6772b3f64010d24de57361faecf426ee6182f5969fcf29b3f649133fe7"
|
|
PATCHES="libcuefile-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
libcuefile$secondaryArchSuffix = $portVersion
|
|
lib:libcuefile$secondaryArchSuffix = 0.0.0 compat = 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libcuefile${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libcuefile$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
libcuefile$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DLIB_SUFFIX=$secondaryArchSubDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $includeDir
|
|
cp -r include/* $includeDir
|
|
|
|
prepareInstalledDevelLib libcuefile
|
|
|
|
packageEntries devel $developDir
|
|
}
|