New package: libraw-0.14.1.

This commit is contained in:
Juan RP 2011-10-16 00:36:19 +02:00
parent 02f7ca272a
commit 417c465fae
7 changed files with 73 additions and 0 deletions

1
srcpkgs/libraw-devel Symbolic link
View file

@ -0,0 +1 @@
LibRaw

1
srcpkgs/libraw-progs Symbolic link
View file

@ -0,0 +1 @@
libraw

2
srcpkgs/libraw/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.14.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,17 @@
# Template file for 'libraw-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run lcms2-devel
Add_dependency run jasper-devel
Add_dependency run libraw
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

View file

@ -0,0 +1,17 @@
# Template file for 'libraw-progs'.
#
short_desc="${short_desc} - applications"
long_desc="${long_desc}
This package contains applications provided by libraw."
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libgomp
Add_dependency run libraw
do_install()
{
vmove usr/bin usr
}

33
srcpkgs/libraw/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'libraw'
pkgname=libraw
version=0.14.1
wrksrc=LibRaw-${version}
homepage="http://www.libraw.org"
distfiles="${homepage}/data/LibRaw-${version}.tar.gz"
build_style=gnu_configure
short_desc="Raw image decoder library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, CDDL, ${pkgname}"
checksum=4e1f66ba74055c097ed9ee64d200ed6226b499436a6ecdfb24e449cc80d537f5
long_desc="
libraw is a library for reading RAW files obtained from digital photo
cameras (CRW/CR2, NEF, RAF, DNG, and others)."
subpackages="${pkgname}-devel ${pkgname}-progs"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libgomp
Add_dependency run libjasper
Add_dependency run lcms2
Add_dependency build pkg-config
Add_dependency build lcms2-devel
Add_dependency build jasper-devel
post_install() {
vmkdir usr/share/licenses
rm -f ${DESTDIR}/usr/share/doc/libraw/Changelog.txt
mv ${DESTDIR}/usr/share/doc/libraw ${DESTDIR}/usr/share/licenses
}

View file

@ -889,3 +889,5 @@ libmusicbrainz3.so.6 libmusicbrainz libmusicbrainz-devel
librhythmbox-core.so.4 librhythmbox rhythmbox-devel
libdmapsharing-3.0.so.2 libdmapsharing libdmapsharing-devel
libgexiv2.so.0 libgexiv2 libgexiv2-devel
libraw.so.5 libraw libraw-devel
libraw_r.so.5 libraw libraw-devel