libcdio: add recipe for version 0.92

* removed old versions.
This commit is contained in:
Jerome Duval
2014-04-19 21:06:48 +00:00
parent d23f05de1f
commit 24735d5bff
4 changed files with 88 additions and 82 deletions

View File

@@ -0,0 +1,88 @@
SUMMARY="A library to encapsulate CD-ROM reading and control"
DESCRIPTION="
The libcdio package contains a library for CD-ROM and CD image \
access. Applications wishing to be oblivious of the OS- and \
device-dependent properties of a CD-ROM or of the specific details of \
various CD-image formats may benefit from using this library.
"
LICENSE="GNU GPL v3"
COPYRIGHT="2002-2008,2010,2012, Rocky Bernstein and Herbert Valerio Riedel."
HOMEPAGE="http://www.gnu.org/software/libcdio"
SRC_URI="ftp://ftp.gnu.org/gnu/libcdio/libcdio-0.92.tar.gz"
CHECKSUM_SIZE="2710084"
CHECKSUM_RMD160="c4bab297eb70041a867045ee94897634e3e75175"
CHECKSUM_SHA512="aeeb51c87f966683a1f10960e4d000098603adfbd8036cff17f62afa5de08a2dbe4f8df7d1bc1fd0438c0ac5f868b2950ed9379ea17b7d98fbd23ef023777747"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libcdio$secondaryArchSuffix = $portVersion
cmd:cdda_player
cmd:cd_drive
cmd:cd_info
cmd:cd_read
cmd:iso_info
cmd:iso_read
cmd:mmc_tool
lib:libcdio$secondaryArchSuffix = 15.0.0 compat >= 15
lib:libcdio++$secondaryArchSuffix = 0.0.2 compat >= 0
lib:libiso9660$secondaryArchSuffix = 9.0.0 compat >= 9
lib:libiso9660++$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libudf$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libiconv$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:autoconf
cmd:automake
"
BUILD()
{
libtoolize --force --copy --install
aclocal -I m4
autoconf
automake
runConfigure ./configure
make
}
INSTALL()
{
make install
# set up the develop directory correctly
prepareInstalledDevelLibs libcdio
# devel package
packageEntries devel \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libcdio${secondaryArchSuffix}_devel = $portVersion
devel:libcdio${secondaryArchSuffix} = 15.0.0 compat >= 15
devel:libcdio++${secondaryArchSuffix} = 0.0.2 compat >= 0
devel:libiso9660${secondaryArchSuffix} = 9.0.0 compat >= 9
devel:libiso9660++${secondaryArchSuffix} = 0.0.0 compat >= 0
devel:libudf${secondaryArchSuffix} = 0.0.0 compat >= 0
"
REQUIRES_devel="
libcdio${secondaryArchSuffix} == $portVersion base
"