wok-next annotate lxdm/receipt @ rev 11364
imlib: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 09 09:49:28 2011 +0100 (2011-12-09) |
parents | |
children | 79baea96cbb2 |
rev | line source |
---|---|
pascal@11223 | 1 # SliTaz package receipt. |
pascal@11223 | 2 |
pascal@11223 | 3 PACKAGE="lxdm" |
pascal@11223 | 4 VERSION="0.2.0" |
pascal@11223 | 5 CATEGORY="x-window" |
pascal@11223 | 6 SHORT_DESC="Login manager from LXDE." |
pascal@11223 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11223 | 8 DEPENDS="glibc-base glib libgio" |
pascal@11223 | 9 BUILD_DEPENDS="slitaz-toolchain" |
pascal@11223 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 11 WEB_SITE="http://lxde.org/" |
pascal@11223 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@11223 | 13 |
pascal@11223 | 14 # Rules to configure and make the package. |
pascal@11223 | 15 compile_rules() |
pascal@11223 | 16 { |
pascal@11223 | 17 cd $src |
pascal@11223 | 18 ./configure \ |
pascal@11223 | 19 --prefix=/usr \ |
pascal@11223 | 20 --libexecdir=/usr/lib/lxdm \ |
pascal@11223 | 21 --sysconfdir=/etc \ |
pascal@11223 | 22 --without-pam \ |
pascal@11223 | 23 $CONFIGURE_ARGS && |
pascal@11223 | 24 make && |
pascal@11223 | 25 make DESTDIR=$PWD/_pkg install |
pascal@11223 | 26 } |
pascal@11223 | 27 |
pascal@11223 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 29 genpkg_rules() |
pascal@11223 | 30 { |
pascal@11223 | 31 mkdir -p $fs/etc $fs/usr/share |
pascal@11223 | 32 cp -a $_pkg/etc/lxdm $fs/etc |
pascal@11223 | 33 cp -a $_pkg/usr/lib $fs/usr |
pascal@11223 | 34 cp -a $_pkg/usr/sbin $fs/usr |
pascal@11223 | 35 cp -a $_pkg/usr/share/lxdm $fs/usr/share |
pascal@11223 | 36 } |