mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
57 lines
1.2 KiB
Bash
57 lines
1.2 KiB
Bash
SUMMARY="Cue File library from Musepack"
|
|
DESCRIPTION="A library to work with CUE files"
|
|
HOMEPAGE="https://www.musepack.net/"
|
|
COPYRIGHT="1997-2011 Musepack Project"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://files.musepack.net/source/libcuefile_r$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="b681ca6772b3f64010d24de57361faecf426ee6182f5969fcf29b3f649133fe7"
|
|
SOURCE_DIR="libcuefile_r$portVersion"
|
|
PATCHES="libcuefile-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libcuefile$secondaryArchSuffix = $portVersion
|
|
lib:libcuefile$secondaryArchSuffix = 0.0.0 compat = 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libcuefile${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libcuefile$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
libcuefile$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
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
|
|
}
|