wok-next view colord/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | e70c0b9c5adf |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="colord"
4 VERSION="1.2.12"
5 CATEGORY="utilities"
6 SHORT_DESC="System activated daemon that maps devices to color profiles"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/software/colord/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://www.freedesktop.org/software/colord/releases/$TARBALL"
14 BUILD_DEPENDS="glib-dev gobject-introspection-dev gtk-doc intltool libxslt \
15 libgusb-dev lcms2-dev sqlite3-dev libgudev-dev polkit-dev dbus-dev vala"
16 SPLIT="colord-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-daemon-user=colord \
25 --enable-vala \
26 --enable-systemd-login=no \
27 --disable-argyllcms-sensor \
28 --disable-bash-completion \
29 --disable-static \
30 --with-systemdsystemunitdir=no \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 colord)
40 copy @std
41 DEPENDS="eudev glib lcms2 libffi libgudev libgusb libsqlite3 \
42 libusb pcre polkit zlib"
43 ;;
44 colord-dev)
45 copy @dev
46 DEPENDS="colord eudev-dev glib-dev glibc-dev lcms2-dev libffi-dev \
47 libgudev-dev libgusb-dev libusb-dev pcre-dev zlib-dev"
48 ;;
49 esac
50 }