mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libdvdcss: Add recipe for 1.2.12
This commit is contained in:
@@ -1,23 +1,70 @@
|
||||
DESCRIPTION="libdvdcss"
|
||||
DESCRIPTION="libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption."
|
||||
SUMMARY="libdvdcss"
|
||||
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"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
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
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
"
|
||||
|
||||
SOURCE_DIR="libdvdcss-${portVersion}"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libdvdcss-1.2.12
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libdvdcss-1.2.12
|
||||
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
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user