mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
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_MD5="2218a193900e3203aa10dc24cdf54275"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PATCHES="libdvdcss-${portVersion}.patch"
|
|
|
|
PROVIDES="
|
|
libdvdcss${secondaryArchSuffix} = $portVersion
|
|
lib:libdvdcss
|
|
cmd:dvdcss_config
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
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
|
|
"
|
|
|