From 23d330c78141549a746c3063ceb3d4cdbb0ff4c7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Sep 2014 12:15:22 +0200 Subject: [PATCH] New package: argyllcms-1.6.3. --- srcpkgs/argyllcms/template | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 srcpkgs/argyllcms/template diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template new file mode 100644 index 00000000000..cc6287f5e5b --- /dev/null +++ b/srcpkgs/argyllcms/template @@ -0,0 +1,39 @@ +# Template file for 'argyllcms' +pkgname=argyllcms +version=1.6.3 +revision=1 +wrksrc="Argyll_V${version}" +hostmakedepends="ftjam zip unzip" +makedepends="zlib-devel libjpeg-turbo-devel libXinerama-devel libXScrnSaver-devel libXxf86vm-devel libXrandr-devel" +short_desc="ICC compatible color management system" +maintainer="Juan RP " +license="GPL, AGPL" +homepage="http://www.argyllcms.com/" +distfiles="http://www.argyllcms.com/Argyll_V${version}_src.zip" +checksum=188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84 + +do_configure() { + sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules +} +do_build() { + unset AR + sh ./makeall.sh + sh ./makeinstall.sh + sh ./makepackagebin.sh + rm {bin,ref}/License.txt + rm {doc,ref}/afiles +} +do_install() { + vmkdir usr/bin + install -m755 bin/* ${DESTDIR}/usr/bin + vmkdir usr/share/${pkgname}/ref + install -m644 ref/*.* ${DESTDIR}/usr/share/${pkgname}/ref + install -m644 profile/*.sp ${DESTDIR}/usr/share/${pkgname}/ref + install -m644 scanin/*.c?? ${DESTDIR}/usr/share/${pkgname}/ref + # Because there is just html documentation we have to move it + vmkdir usr/share/${pkgname}/doc/ccmxs + install -m644 doc/ccmxs/*.ccmx ${DESTDIR}/usr/share/${pkgname}/doc/ccmxs + install -m644 doc/*.* ${DESTDIR}/usr/share/${pkgname}/doc + vmkdir usr/lib/udev/rules.d + install -m644 usb/55-Argyll.rules ${DESTDIR}/usr/lib/udev/rules.d/55-Argyll.rules +}