lcms: update to 1.18a, new deps style, converted to subpkgs.

--HG--
extra : convert_revision : 357ed1c657dd779a521a94c415ffa24734b7ad7b
This commit is contained in:
Juan RP 2009-04-19 14:54:57 +02:00
parent aca306775e
commit 8d82e6a55d
4 changed files with 30 additions and 3 deletions

1
templates/lcms-devel Symbolic link
View File

@ -0,0 +1 @@
lcms

2
templates/lcms/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=1.18
api_depends=${abi_depends}

View File

@ -0,0 +1,17 @@
# Template file for 'lcms-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run lcms
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
}

View File

@ -1,12 +1,13 @@
# Template build file for 'lcms'. # Template build file for 'lcms'.
pkgname=lcms pkgname=lcms
version=1.17 sourcepkg=$pkgname
version=1.18a
wrksrc=${pkgname}-${version%[a-z]*}
distfiles="http://www.littlecms.com/$pkgname-$version.tar.gz" distfiles="http://www.littlecms.com/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
pkgconfig_override="lcms.pc"
short_desc="Light Color Management System -- a color management library" short_desc="Light Color Management System -- a color management library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1ad67295b53a82e4813294cbcdfccf8a5bdb1bbd checksum=fe679a33e7074b62e38c458ac2bbf06d688ae47171886a5a611cbf8ec4d88ddf
long_desc=" long_desc="
LCMS is the Little Color Management System, a Color Matching Method LCMS is the Little Color Management System, a Color Matching Method
(CMM) library which implements fast transforms between ICC profiles. (CMM) library which implements fast transforms between ICC profiles.
@ -15,3 +16,9 @@ long_desc="
Color management refers to techniques that ensure consistent color Color management refers to techniques that ensure consistent color
as images are transferred from scanners or cameras to monitors and as images are transferred from scanners or cameras to monitors and
printers." printers."
subpackages="devel"
Add_dependency full glibc
Add_dependency full zlib
Add_dependency full jpeg
Add_dependency full tiff