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