0
0
Fork 0
haikuports/haiku-libs/libburndevice/libburndevice-1.0.recipe

63 lines
1.4 KiB
Bash

SUMMARY="A disc burning library for Haiku"
DESCRIPTION="LibBurnDevice is a disc burning library for Haiku."
HOMEPAGE="https://github.com/HaikuArchives/Lava"
COPYRIGHT="2007, 2010 Team MAUI
2003-2006 Haiku Inc."
LICENSE="Public Domain"
REVISION="2"
SOURCE_URI="https://github.com/HaikuArchives/Lava/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="0c1899141eac1fca086a554d56527f38baa70ae7bff0a6db37cd180084c01c71"
SOURCE_DIR="Lava-$portVersion"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libburndevice$secondaryArchSuffix = $portVersion
lib:libburndevice$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:cdrecord
"
PROVIDES_devel="
libburndevice${secondaryArchSuffix}_devel = $portVersion
devel:libburndevice$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libburndevice$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd LibBurnDevice
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
cd LibBurnDevice
mkdir -p $libDir $developLibDir $includeDir/burndevice
cp objects/libburndevice.so $libDir/libburndevice.so
cp BurnDevice.h $includeDir/burndevice
prepareInstalledDevelLibs \
libburndevice
packageEntries devel \
$developLibDir \
$includeDir
}