Files
haikuports/media-libs/libdvdread/libdvdread-4.2.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* 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.
2014-12-14 23:08:52 +01:00

80 lines
1.8 KiB
Plaintext

SUMMARY="A simple foundation for reading DVD video disks"
DESCRIPTION="
libdvdread provides a simple foundation for reading DVD video disks. It \
provides the functionality that is required to access many DVDs. libdvdread \
parses IFO files, reads NAV-blocks, and performs CSS authentication and \
descrambling (if an external libdvdcss library is installed).
"
HOMEPAGE="http://dvdnav.mplayerhq.hu"
LICENSE="GNU GPL v2"
COPYRIGHT="1998-1999 Eric Smith
2000-2002 Björn Englund
2000-2003 Håkan Hjort, et al."
SRC_URI="http://dvdnav.mplayerhq.hu/releases/libdvdread-4.2.0.tar.bz2"
CHECKSUM_SHA256="0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="libdvdread-${portVersion}.patch"
PROVIDES="
libdvdread${secondaryArchSuffix} = $portVersion
lib:libdvdread
cmd:dvdread_config
"
REQUIRES="
haiku${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:make
cmd:libtoolize
cmd:aclocal
cmd:autoconf
"
SOURCE_DIR="libdvdread-${portVersion}"
BUILD()
{
./autogen.sh
runConfigure ./configure --enable-shared --enable-static
make $jobArgs
}
INSTALL()
{
make install
# move headers to the correct location
mkdir -p $(dirname $includeDir)
mv $prefix/include $includeDir/
# prepare develop/lib
prepareInstalledDevelLibs libdvdread
fixPkgconfig
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libdvdread${secondaryArchSuffix}_devel = $portVersion
devel:libdvdread$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libdvdread$secondaryArchSuffix == $portVersion base
"