wok-current annotate consolekit2/receipt @ rev 22469
updated activeresource (3.2.6 -> 5.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 27 16:57:16 2019 +0100 (2019-12-27) |
parents | 389660094be5 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
Hans-G?nter@21533 | 1 # SliTaz package receipt. |
Hans-G?nter@21533 | 2 |
Hans-G?nter@21533 | 3 PACKAGE="consolekit2" |
Hans-G?nter@21533 | 4 VERSION="1.2.1" |
Hans-G?nter@21533 | 5 CATEGORY="system-tools" |
Hans-G?nter@21533 | 6 SHORT_DESC="ConsoleKit framework." |
Hans-G?nter@21533 | 7 MAINTAINER="developer@slitaz.org" |
Hans-G?nter@21533 | 8 LICENSE="GPL2" |
Hans-G?nter@21533 | 9 WEB_SITE="https://github.com/Consolekit2/ConsoleKit2" |
Hans-G?nter@21533 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/consolekit.html" |
Hans-G?nter@21533 | 11 REPOLOGY="consolekit" |
Hans-G?nter@21533 | 12 |
Hans-G?nter@21533 | 13 SOURCE="ConsoleKit2" |
Hans-G?nter@21533 | 14 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@21533 | 15 WGET_URL="https://github.com/$SOURCE/$SOURCE/releases/download/$VERSION/$TARBALL" |
Hans-G?nter@21533 | 16 TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e" |
Hans-G?nter@21533 | 17 |
Hans-G?nter@21533 | 18 |
Hans-G?nter@21533 | 19 DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib" |
Hans-G?nter@21533 | 20 BUILD_DEPENDS="acl-dev dbus-dev docbook-xsl eudev-dev gettext-base \ |
Hans-G?nter@21533 | 21 glib-dev libtool libxml2-tools libxslt polkit-dev \ |
Hans-G?nter@21534 | 22 util-linux-getopt util-linux-uuid-dev xmlto xorg-libX11-dev" |
Hans-G?nter@21533 | 23 |
Hans-G?nter@21533 | 24 compile_rules() |
Hans-G?nter@21533 | 25 { |
Hans-G?nter@21533 | 26 ./configure \ |
Hans-G?nter@21533 | 27 --localstatedir=/var \ |
Hans-G?nter@21533 | 28 --enable-udev-acl \ |
Hans-G?nter@21533 | 29 --enable-polkit \ |
Hans-G?nter@21533 | 30 --with-xinitrc-dir=/etc/X11/app-defaults/xinitrc.d \ |
Hans-G?nter@21533 | 31 --with-systemdsystemunitdir=no \ |
Hans-G?nter@21533 | 32 --enable-docbook-docs \ |
Hans-G?nter@21533 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@21533 | 34 make && |
Hans-G?nter@21533 | 35 make install || return 1 |
Hans-G?nter@21533 | 36 |
Hans-G?nter@21533 | 37 mv -v $install/etc/X11/app-defaults/xinitrc.d/90-consolekit \ |
Hans-G?nter@21533 | 38 $install/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh |
Hans-G?nter@21533 | 39 } |
Hans-G?nter@21533 | 40 |
Hans-G?nter@21533 | 41 genpkg_rules() |
Hans-G?nter@21533 | 42 { |
Hans-G?nter@21533 | 43 mkdir -p $fs/etc/X11/app-defaults |
Hans-G?nter@21533 | 44 mkdir -p $fs/lib |
Hans-G?nter@21533 | 45 mkdir -p $fs/usr/lib |
Hans-G?nter@21533 | 46 mkdir -p $fs/usr/share |
Hans-G?nter@21533 | 47 mkdir -p $fs/var/log/ConsoleKit |
Hans-G?nter@21533 | 48 mkdir -p $fs/var/run/ConsoleKit |
Hans-G?nter@21533 | 49 |
Hans-G?nter@21533 | 50 cp -a $install/etc/X11/app-defaults/xinitrc.d \ |
Hans-G?nter@21533 | 51 $fs/etc/X11/app-defaults |
Hans-G?nter@21533 | 52 cp -a $install/usr/etc $fs |
Hans-G?nter@21533 | 53 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21533 | 54 cp -a $install/lib/udev $fs/lib |
Hans-G?nter@21533 | 55 cp -a $install/usr/lib/ConsoleKit $fs/usr/lib |
Hans-G?nter@21533 | 56 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21533 | 57 cp -a $install/usr/libexec $fs/usr |
Hans-G?nter@21533 | 58 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21533 | 59 cp -a $install/usr/share/dbus-1 $fs/usr/share |
Hans-G?nter@21533 | 60 cp -a $install/usr/share/polkit-1 $fs/usr/share |
Hans-G?nter@21533 | 61 |
Hans-G?nter@21533 | 62 # modify symbolic links |
Hans-G?nter@21533 | 63 rm $fs/lib/udev/udev-acl |
Hans-G?nter@21533 | 64 ln -s ../../usr/libexec/udev-acl \ |
Hans-G?nter@21533 | 65 $fs/lib/udev/udev-acl |
Hans-G?nter@21533 | 66 rm $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck |
Hans-G?nter@21533 | 67 ln -s ../../../libexec/udev-acl \ |
Hans-G?nter@21533 | 68 $fs/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck |
Hans-G?nter@21533 | 69 } |