wok-next diff consolekit2/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | |
children | 0e7893ac206d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/consolekit2/receipt Wed Nov 15 14:21:32 2017 +0200 1.3 @@ -0,0 +1,54 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="consolekit2" 1.7 +VERSION="1.0.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="ConsoleKit framework" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://github.com/Consolekit2/ConsoleKit2" 1.13 + 1.14 +TARBALL="ConsoleKit2-$VERSION.tar.bz2" 1.15 +WGET_URL="https://github.com/Consolekit2/ConsoleKit2/releases/download/$VERSION/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="xorg-libX11-dev gettext dbus-dev glib-dev polkit-dev eudev-dev \ 1.18 +xmlto libxslt docbook-xsl" 1.19 +SPLIT="consolekit2-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/consolekit.html 1.25 + 1.26 + ./configure \ 1.27 + --sysconfdir=/etc \ 1.28 + --localstatedir=/var \ 1.29 + --enable-udev-acl \ 1.30 + --enable-polkit \ 1.31 + --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \ 1.32 + --docdir=/usr/share/doc/ConsoleKit-$VERSION \ 1.33 + --with-systemdsystemunitdir=no \ 1.34 + --enable-docbook-docs \ 1.35 + $CONFIGURE_ARGS && 1.36 + make && make install && 1.37 + 1.38 + mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \ 1.39 + $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh 1.40 +} 1.41 + 1.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 +genpkg_rules() 1.44 +{ 1.45 + case $PACKAGE in 1.46 + consolekit2) 1.47 + copy @std 1.48 + DEPENDS="acl attr dbus eudev glib libffi pcre polkit \ 1.49 + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ 1.50 + xorg-libXau xorg-libXdmcp xorg-libxcb zlib" 1.51 + ;; 1.52 + *-dev) 1.53 + copy @dev 1.54 + DEPENDS="consolekit2 dbus-dev" 1.55 + ;; 1.56 + esac 1.57 +}