wok annotate lxdm/receipt @ rev 25161
created recipe for py3k-pillow
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:04:47 2022 +0100 (2022-07-01) |
parents | fb22330086d8 |
children |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="lxdm" |
pankso@19867 | 4 VERSION="0.5.3" |
pascal@11223 | 5 CATEGORY="x-window" |
al@17992 | 6 SHORT_DESC="GUI login manager for LXDE" |
pascal@11223 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@19867 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@25045 | 10 WEB_SITE="https://www.lxde.org/" |
pascal@11223 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@17992 | 12 TAGS="LXDE" |
pascal@11223 | 13 |
pankso@12410 | 14 DEPENDS="xorg-libX11 gtk+ slitaz-configs" |
pankso@12410 | 15 BUILD_DEPENDS="xorg-dev gtk+-dev" |
pankso@12410 | 16 |
pascal@25045 | 17 # What is the latest version available today? |
pascal@24071 | 18 current_version() |
pascal@24071 | 19 { |
pascal@24071 | 20 wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \ |
pascal@24384 | 21 sed "/scope=\"row/!d;/$PACKAGE%20/!d;s|.*$PACKAGE%20||;s|/.*||;q" |
pascal@24071 | 22 } |
pascal@24071 | 23 |
pascal@11223 | 24 # Rules to configure and make the package. |
pascal@11223 | 25 compile_rules() |
pascal@11223 | 26 { |
pascal@11223 | 27 ./configure \ |
pascal@11223 | 28 --libexecdir=/usr/lib/lxdm \ |
pascal@11223 | 29 --sysconfdir=/etc \ |
pascal@11223 | 30 --without-pam \ |
pascal@11223 | 31 $CONFIGURE_ARGS && |
pankso@12410 | 32 make && make install |
pascal@11223 | 33 } |
pascal@11223 | 34 |
pascal@11223 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 36 genpkg_rules() |
pascal@11223 | 37 { |
pascal@11223 | 38 mkdir -p $fs/etc $fs/usr/share |
pankso@12410 | 39 cp -a $install/etc/lxdm $fs/etc |
pankso@12410 | 40 cp -a $install/usr/lib $fs/usr |
pankso@12410 | 41 cp -a $install/usr/sbin $fs/usr |
pankso@12410 | 42 cp -a $install/usr/share/lxdm $fs/usr/share |
pankso@12410 | 43 cp -a $stuff/init.d $fs/etc |
pankso@12410 | 44 # Use /bin/sh |
pankso@12410 | 45 sed -i s'/bin\/bash/bin\/sh/' $fs/etc/lxdm/* |
pankso@12410 | 46 # Custom SliTaz configuration |
pankso@12410 | 47 # NOTE: will move to slitaz-configs when we have a nice theme |
pankso@12410 | 48 cp -a $stuff/lxdm.conf $fs/etc/lxdm |
pankso@12410 | 49 cp -a $stuff/Xsession $fs/etc/lxdm |
pankso@12410 | 50 cp -a $stuff/PostLogout $fs/etc/lxdm |
pankso@12410 | 51 chown -R root.root $fs |
pascal@11223 | 52 } |