wok rev 21533
backported Bobylev's receipt for consolekit2 from next to cooking
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 05 11:02:08 2019 +0100 (2019-05-05) |
parents | c36d2f6f3037 |
children | 57308b19603b |
files | consolekit2-dev/receipt consolekit2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/consolekit2-dev/receipt Sun May 05 11:02:08 2019 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="consolekit2-dev" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="ConsoleKit framework - development files." 1.10 +MAINTAINER="developer@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://github.com/Consolekit2/ConsoleKit2" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/consolekit.html" 1.14 +REPOLOGY="consolekit" 1.15 + 1.16 +DEPENDS="consolekit2 dbus-dev glib-dev" 1.17 +WANTED="consolekit2" 1.18 + 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/lib 1.22 + 1.23 + cp -a $install/usr/include $fs/usr 1.24 + cp -a $install/usr/lib/lib* $fs/usr/lib 1.25 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/consolekit2/receipt Sun May 05 11:02:08 2019 +0100 2.3 @@ -0,0 +1,69 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="consolekit2" 2.7 +VERSION="1.2.1" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="ConsoleKit framework." 2.10 +MAINTAINER="developer@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="https://github.com/Consolekit2/ConsoleKit2" 2.13 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/consolekit.html" 2.14 +REPOLOGY="consolekit" 2.15 + 2.16 +SOURCE="ConsoleKit2" 2.17 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.18 +WGET_URL="https://github.com/$SOURCE/$SOURCE/releases/download/$VERSION/$TARBALL" 2.19 +TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e" 2.20 + 2.21 + 2.22 +DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib" 2.23 +BUILD_DEPENDS="acl-dev dbus-dev docbook-xsl eudev-dev gettext-base \ 2.24 + glib-dev libtool libxml2-tools libxslt polkit-dev \ 2.25 + util-linux-uuid-dev xmlto xorg-libX11-dev" 2.26 + 2.27 +compile_rules() 2.28 +{ 2.29 + ./configure \ 2.30 + --localstatedir=/var \ 2.31 + --enable-udev-acl \ 2.32 + --enable-polkit \ 2.33 + --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \ 2.34 + --with-systemdsystemunitdir=no \ 2.35 + --enable-docbook-docs \ 2.36 + $CONFIGURE_ARGS && 2.37 + make && 2.38 + make install || return 1 2.39 + 2.40 + mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \ 2.41 + $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh 2.42 +} 2.43 + 2.44 +genpkg_rules() 2.45 +{ 2.46 + mkdir -p $fs/etc/X11/app-defaults 2.47 + mkdir -p $fs/lib 2.48 + mkdir -p $fs/usr/lib 2.49 + mkdir -p $fs/usr/share 2.50 + mkdir -p $fs/var/log/ConsoleKit 2.51 + mkdir -p $fs/var/run/ConsoleKit 2.52 + 2.53 + cp -a $install/etc/X11/app-defaults/xinitrc.d \ 2.54 + $fs/etc/X11/app-defaults 2.55 + cp -a $install/usr/etc $fs 2.56 + cp -a $install/usr/bin $fs/usr 2.57 + cp -a $install/lib/udev $fs/lib 2.58 + cp -a $install/usr/lib/ConsoleKit $fs/usr/lib 2.59 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.60 + cp -a $install/usr/libexec $fs/usr 2.61 + cp -a $install/usr/sbin $fs/usr 2.62 + cp -a $install/usr/share/dbus-1 $fs/usr/share 2.63 + cp -a $install/usr/share/polkit-1 $fs/usr/share 2.64 + 2.65 + # modify symbolic links 2.66 + rm $fs/lib/udev/udev-acl 2.67 + ln -s ../../usr/libexec/udev-acl \ 2.68 + $fs/lib/udev/udev-acl 2.69 + rm $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck 2.70 + ln -s ../../../libexec/udev-acl \ 2.71 + $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck 2.72 +}