diff --git a/srcpkgs/cdrskin b/srcpkgs/cdrskin new file mode 120000 index 00000000000..ea430220b5a --- /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 00000000000..ea430220b5a --- /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 00000000000..a1cec21e7f6 --- /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 00000000000..a3e5642e478 --- /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 00000000000..2ac7375203a --- /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 00000000000..1bba151d351 --- /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