libdts: convert recipe.

This commit is contained in:
Adrien Destugues
2014-09-13 11:36:39 +02:00
parent cca1a3ce07
commit b93f8605e2

View File

@@ -1,22 +1,58 @@
DESCRIPTION="libdca - library for decoding DTS Coherent Acoustics streams used in DVD"
SUMMARY="a free DTS Coherent Acoustics decoder"
DESCRIPTION="libdca is a free library for decoding DTS Coherent Acoustics \
streams. The code is written by Gildas Bazin and was based on the a52dec \
project. It is released under the terms of the GPL license.
The DTS Coherent Acoustics standard (ETSI 102 114 v1.2.1), as published by the \
ETSI, is available here (look for DTS Coherent Acoustics).
"
HOMEPAGE="http://www.videolan.org/developers/libdca.html"
SRC_URI="http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
CHECKSUM_MD5="dab6b2795c66a82a6fcd4f8343343021"
CHECKSUM_SHA256="dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
ARCHITECTURES="x86_gcc2"
PROVIDES="
libdca = $portVersion
cmd:dcadec
cmd:dtsdec
cmd:extract_dca
cmd:extract_dts
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:make
"
PROVIDES_devel="
libdca_devel = $portVersion
devel:libdca
devel:libdts
"
REQUIRES_devel="
libdca == $portVersion base
"
BUILD()
{
cd libdca-0.0.5
./bootstrap
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd libdca-0.0.5
make install
prepareInstalledDevelLibs libdca libdts
packageEntries devel $developDir
}
LICENSE="GNU GPL v2"