From 15ca34c32e1480872b42c4dd8ee019be091f4d23 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 4 Dec 2009 03:54:26 +0100 Subject: [PATCH] Added libburn-0.7.2.pl01 build template. --HG-- extra : convert_revision : 7167a1f9db5d996461a86336b61039c94ce8772b --- srcpkgs/cdrskin | 1 + srcpkgs/libburn-devel | 1 + srcpkgs/libburn/cdrskin.template | 21 +++++++++++++++++++++ srcpkgs/libburn/depends | 2 ++ srcpkgs/libburn/libburn-devel.template | 18 ++++++++++++++++++ srcpkgs/libburn/template | 25 +++++++++++++++++++++++++ 6 files changed, 68 insertions(+) create mode 120000 srcpkgs/cdrskin create mode 120000 srcpkgs/libburn-devel create mode 100644 srcpkgs/libburn/cdrskin.template create mode 100644 srcpkgs/libburn/depends create mode 100644 srcpkgs/libburn/libburn-devel.template create mode 100644 srcpkgs/libburn/template diff --git a/srcpkgs/cdrskin b/srcpkgs/cdrskin new file mode 120000 index 0000000000..ea430220b5 --- /dev/null +++ b/srcpkgs/cdrskin @@ -0,0 +1 @@ +libburn \ No newline at end of file diff --git a/srcpkgs/libburn-devel b/srcpkgs/libburn-devel new file mode 120000 index 0000000000..ea430220b5 --- /dev/null +++ b/srcpkgs/libburn-devel @@ -0,0 +1 @@ +libburn \ No newline at end of file diff --git a/srcpkgs/libburn/cdrskin.template b/srcpkgs/libburn/cdrskin.template new file mode 100644 index 0000000000..a1cec21e7f --- /dev/null +++ b/srcpkgs/libburn/cdrskin.template @@ -0,0 +1,21 @@ +# Template file for 'cdrskin'. +# +short_desc="Command line CD/DVD/BD writing tool" +long_desc=" + cdrskin strives to be a second source for the services traditionally + provided by cdrecord. Currently it does CD-R and CD-RW this way. + Overwriteable media DVD-RAM, DVD+RW, DVD-RW, and BD-RE are handled + differently than with cdrecord-ProDVD in order to offer TAO-like single + track recording. Sequential DVD-R[W], DVD+R, DVD+R DL are handled like + CD-R[W] with TAO and multi-session. Additionally cdrskin offers + cdrecord-ProDVD-like mode DAO with DVD-R[W]." + +Add_dependency run glibc +Add_dependency run libburn + +do_install() +{ + mkdir -p ${DESTDIR}/usr/bin + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libburn/depends b/srcpkgs/libburn/depends new file mode 100644 index 0000000000..a3e5642e47 --- /dev/null +++ b/srcpkgs/libburn/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.7.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/libburn/libburn-devel.template b/srcpkgs/libburn/libburn-devel.template new file mode 100644 index 0000000000..2ac7375203 --- /dev/null +++ b/srcpkgs/libburn/libburn-devel.template @@ -0,0 +1,18 @@ +# Template file for 'libburn-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libburn + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libburn/template b/srcpkgs/libburn/template new file mode 100644 index 0000000000..1bba151d35 --- /dev/null +++ b/srcpkgs/libburn/template @@ -0,0 +1,25 @@ +# Template file for 'libburn' +pkgname=libburn +_dist_ver=0.7.2 +_dist_patch_ver=pl01 +version=${_dist_ver}.${_dist_patch_ver} +wrksrc=${pkgname}-${_dist_ver} +distfiles="http://files.libburnia-project.org/releases/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="Library for reading, mastering and writing optical discs" +maintainer="Juan RP " +checksum=cc61e373b8c80b414e33c2df3d0753a6c8d2adf6e8926504b682af33338b0c57 +long_desc=" + libburn is a library by which preformatted data get onto optical media: CD, + DVD, BD (Blu-Ray). On Linux it uses either /dev/sgN (on kernel 2.4 with + ide-scsi) or /dev/srM , /dev/hdX ( on kernel 2.6). + + libburn also offers a facility for reading data blocks from its drives without + using the normal block device i/o, which has its advantages and disadvantages. + It seems appropriate, nevertheless, to do writing and reading via the same + channel. On several Linux systems, the block device driver needs reloading of + the drive tray in order to make available freshly written data. The libburn + read function does not need such a reload." + +subpackages="cdrskin $pkgname-devel" +Add_dependency full glibc