mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 12:08:53 +02:00
93 lines
2.2 KiB
Bash
93 lines
2.2 KiB
Bash
SUMMARY="Library for recording CD/DVD/BD media"
|
|
DESCRIPTION="libburn is a library that can record preformatted data onto CD \
|
|
(including Audio CD), DVD and Blu-ray discs (BD) optical media. It also offers \
|
|
a facility for reading data blocks from optical media."
|
|
HOMEPAGE="http://www.libburnia-project.org/"
|
|
COPYRIGHT="2006-2016 Mario Danic and Thomas Schmitt"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://files.libburnia-project.org/releases/libburn-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="33cfcd7f5deb3c6f325ca9eaef36c59b4fcb384bfcddaaa16d9a89da88a80edb"
|
|
SOURCE_DIR="libburn-1.4.2"
|
|
PATCHES="libburn-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
libburn$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:cdrskin$secondaryArchSuffix
|
|
lib:libburn$secondaryArchSuffix = 4.95.0 compat >= 4
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libburn${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libburn$secondaryArchSuffix = 4.95.0 compat >= 4
|
|
"
|
|
REQUIRES_devel="
|
|
libburn$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:autoreconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed \
|
|
-e "s,\
|
|
ftp://ftp.berlios.de/pub/cdrecord/alpha,\
|
|
http://sourceforge.net/projects/cdrtools/files/alpha," \
|
|
-e "s,\
|
|
ftp://ftp.berlios.de/pub/cdrecord/,\
|
|
http://sourceforge.net/projects/cdrtools/files/," \
|
|
-e "s,\
|
|
http://cdrecord.berlios.de/private/cdrecord.html,\
|
|
http://cdrtools.sourceforge.net/private/cdrecord.html," \
|
|
-e "s,\
|
|
http://cdrecord.berlios.de/old/private/cdrecord.html,\
|
|
http://cdrtools.sourceforge.net/private/cdrecord.html," \
|
|
-e "s,\
|
|
http://cdrecord.berlios.de/old/private/man/cdrecord-2.0.html,\
|
|
http://cdrtools.sourceforge.net/private/man/cdrecord/cdrecord.1.html," \
|
|
-i \
|
|
cdrskin/wiki_plain.txt \
|
|
cdrskin/cdrskin_eng.html \
|
|
cdrskin/cdrskin.c \
|
|
cdrskin/README \
|
|
doc/mediainfo.txt \
|
|
doc/cdtext.txt
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libburn
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|