From bc0e01cb3c01c178dbe9142ebc512902545439dc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 20:56:20 +0100 Subject: [PATCH] Added libcdio-0.82 build template. --HG-- extra : convert_revision : 9a0990d2a095a5968bbe0e51b6ecab4c67bc179e --- srcpkgs/libcdio-devel | 1 + srcpkgs/libcdio/depends | 2 ++ srcpkgs/libcdio/libcdio-devel.template | 20 ++++++++++++++++++++ srcpkgs/libcdio/template | 23 +++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 120000 srcpkgs/libcdio-devel create mode 100644 srcpkgs/libcdio/depends create mode 100644 srcpkgs/libcdio/libcdio-devel.template create mode 100644 srcpkgs/libcdio/template diff --git a/srcpkgs/libcdio-devel b/srcpkgs/libcdio-devel new file mode 120000 index 0000000000..b84f31aaec --- /dev/null +++ b/srcpkgs/libcdio-devel @@ -0,0 +1 @@ +libcdio \ No newline at end of file diff --git a/srcpkgs/libcdio/depends b/srcpkgs/libcdio/depends new file mode 100644 index 0000000000..daa819845a --- /dev/null +++ b/srcpkgs/libcdio/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/libcdio/libcdio-devel.template b/srcpkgs/libcdio/libcdio-devel.template new file mode 100644 index 0000000000..59175ff943 --- /dev/null +++ b/srcpkgs/libcdio/libcdio-devel.template @@ -0,0 +1,20 @@ +# Template file for 'libcdio-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run ncurses-devel +Add_dependency run libcddb-devel +Add_dependency run libcdio + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libcdio/template b/srcpkgs/libcdio/template new file mode 100644 index 0000000000..f1717896d2 --- /dev/null +++ b/srcpkgs/libcdio/template @@ -0,0 +1,23 @@ +# Template file for 'libcdio' +pkgname=libcdio +version=0.82 +distfiles="http://ftp.gnu.org/gnu/libcdio/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="CD-ROM access library" +maintainer="Juan RP " +checksum=1acb3de8e0927906ade7a34c5853173d3068b87b02dfba80d0bf11e47f0b5d39 +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." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run ncurses +Add_dependency run libcddb +Add_dependency build ncurses-devel +Add_dependency build libcddb-devel