2014-09-16 12:15:22 +02:00
|
|
|
# Template file for 'argyllcms'
|
|
|
|
pkgname=argyllcms
|
2015-12-08 03:23:09 +01:00
|
|
|
version=1.8.3
|
2016-08-07 06:48:16 +02:00
|
|
|
revision=3
|
2014-09-16 12:15:22 +02:00
|
|
|
wrksrc="Argyll_V${version}"
|
|
|
|
hostmakedepends="ftjam zip unzip"
|
2016-08-07 06:48:16 +02:00
|
|
|
makedepends="zlib-devel libjpeg-turbo-devel libXinerama-devel libressl-devel
|
|
|
|
libXScrnSaver-devel libXxf86vm-devel libXrandr-devel tiff-devel libpng-devel"
|
2014-09-16 12:15:22 +02:00
|
|
|
short_desc="ICC compatible color management system"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-12-08 03:23:09 +01:00
|
|
|
license="AGPL-3"
|
2014-09-16 12:15:22 +02:00
|
|
|
homepage="http://www.argyllcms.com/"
|
|
|
|
distfiles="http://www.argyllcms.com/Argyll_V${version}_src.zip"
|
2015-12-08 03:23:09 +01:00
|
|
|
checksum=60494176785f6c2e4e4daefb9452d83859880449040b2a843ed81de3bd0c558e
|
2014-09-16 12:15:22 +02:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules
|
|
|
|
}
|
2016-08-07 06:48:16 +02:00
|
|
|
|
2014-09-16 12:15:22 +02:00
|
|
|
do_build() {
|
|
|
|
unset AR
|
2015-12-08 03:23:09 +01:00
|
|
|
export NUMBER_OF_PROCESSORS=$XBPS_MAKEJOBS
|
2016-08-07 06:48:16 +02:00
|
|
|
export CCOPTFLAG="$CFLAGS"
|
|
|
|
export LINKDEBUGFLAG="$LDFLAGS"
|
2014-09-16 12:15:22 +02:00
|
|
|
sh ./makeall.sh
|
|
|
|
sh ./makeinstall.sh
|
|
|
|
rm {bin,ref}/License.txt
|
|
|
|
rm {doc,ref}/afiles
|
|
|
|
}
|
2016-08-07 06:48:16 +02:00
|
|
|
|
2014-09-16 12:15:22 +02:00
|
|
|
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
|
|
|
|
}
|