mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* 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.
74 lines
1.5 KiB
Plaintext
74 lines
1.5 KiB
Plaintext
SUMMARY="libdvdcss"
|
|
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"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="Copyright (C) 1998-2008 VideoLAN"
|
|
SRC_URI="http://download.videolan.org/pub/libdvdcss/1.2.12/libdvdcss-1.2.12.tar.bz2"
|
|
CHECKSUM_SHA256="72465395d494f609b180cab23f9679acf6083fb821bd84979a8e70f7b795db5d"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PATCHES="libdvdcss-${portVersion}.patch"
|
|
|
|
PROVIDES="
|
|
libdvdcss$secondaryArchSuffix = $portVersion
|
|
lib:libdvdcss$secondaryArchSuffix
|
|
cmd:dvdcss_config$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
"
|
|
|
|
SOURCE_DIR="libdvdcss-${portVersion}"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libdvdcss
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libdvdcss${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdvdcss$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libdvdcss$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|