2009-12-30 19:56:20 +00:00
|
|
|
# Template file for 'libcdio'
|
|
|
|
pkgname=libcdio
|
2011-12-02 09:29:20 +00:00
|
|
|
version=0.83
|
2013-05-26 14:46:36 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="ncurses-devel libcddb-devel"
|
2009-12-30 19:56:20 +00:00
|
|
|
short_desc="CD-ROM access library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-02 09:29:20 +00:00
|
|
|
license="GPL-3"
|
2013-04-13 08:15:49 +00:00
|
|
|
homepage="http://www.gnu.org/software/libcdio/"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/libcdio/$pkgname-$version.tar.gz"
|
2011-12-02 09:29:20 +00:00
|
|
|
checksum=235017e3eccb86424f9c108f2c5d5fca62630bda8c9dcf23b425ba9c5e2482c0
|
2009-12-30 19:56:20 +00:00
|
|
|
long_desc="
|
|
|
|
This library is to encapsulate CD-ROM reading and
|
|
|
|
control. Applications wishing to be oblivious of the OS- and
|
|
|
|
device-dependent properties of a CD-ROM can use this library.
|
|
|
|
|
|
|
|
Some support for disk image types like BIN/CUE and NRG is available,
|
|
|
|
so applications that use this library also have the ability to read
|
|
|
|
disc images as though they were CDs."
|
|
|
|
|
2013-05-26 14:46:36 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" automake libtool"
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libcdio-devel_package() {
|
|
|
|
depends="libcddb-devel libcdio>=${version}"
|
2013-05-26 14:46:36 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libcdio_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|