Files
haikuports/media-libs/libdvdcss/libdvdcss-1.2.12.recipe
Humdinger 3ea69a805d De-lint recipes.
*	gnash
	Don't start SUMMARY with app name
	Re-ordered blocks

*	gophernicus
	Don't start SUMMARY with app name
	Re-ordered blocks

*	harfbuzz
	Don't start SUMMARY with app name
	Re-ordered blocks

*	inconsolata
	Don't start SUMMARY with app name
	Re-ordered blocks

*	indent
	Don't start SUMMARY with app name
	Re-ordered blocks
	Fixed (SECONDARY_)ARCHITECTURES and PROVIDES

*	inputproto
	Don't start SUMMARY with app name
	Improved SUMMARY and DESCRIPTION
	Re-ordered blocks

*	jamvm
	Don't start SUMMARY with app name
	Removed "DEPEND"
	Re-ordered blocks

*	jpeg
	Don't start SUMMARY with app name
	Re-ordered blocks

*	jgmod
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kbproto
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kdiff3
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdom
	Don't start SUMMARY with app name
	Re-ordered blocks
	Removed $secondaryArchSuffix as there are no 2nd archs declared

*	libdvdcss
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdwarf
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libevent
	Minor cosmetics
	Re-ordered blocks
2015-08-07 16:40:23 +02:00

66 lines
1.4 KiB
Bash

SUMMARY="A library to access DVDs"
DESCRIPTION="libdvdcss is a simple library designed for accessing DVDs like a \
block device without having to bother about the decryption."
HOMEPAGE="http://www.videolan.org/developers/libdvdcss.html"
COPYRIGHT="1998-2008 VideoLAN"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://download.videolan.org/pub/libdvdcss/1.2.12/libdvdcss-1.2.12.tar.bz2"
CHECKSUM_SHA256="72465395d494f609b180cab23f9679acf6083fb821bd84979a8e70f7b795db5d"
SOURCE_DIR="libdvdcss-${portVersion}"
PATCHES="libdvdcss-${portVersion}.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
libdvdcss$secondaryArchSuffix = $portVersion
lib:libdvdcss$secondaryArchSuffix
cmd:dvdcss_config$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libdvdcss${secondaryArchSuffix}_devel = $portVersion
devel:libdvdcss$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libdvdcss$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:libtoolize
cmd:aclocal
cmd:autoconf
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
automake
runConfigure ./configure
make
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs libdvdcss
fixPkgconfig
packageEntries devel \
$developDir
}