wok rev 2600

Add enlightenment-pam, unPAMize enlightenment
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 16:22:42 2009 +0000 (2009-04-10)
parents 9c47e2a0e10b
children 3726587bf329
files enlightenment-pam/receipt enlightenment/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/enlightenment-pam/receipt	Fri Apr 10 16:22:42 2009 +0000
     1.3 @@ -0,0 +1,50 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="enlightenment-pam"
     1.7 +SOURCE="enlightenment"
     1.8 +VERSION="0.16.999.050"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="Enlightenment window manager (E17)."
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +DEPENDS="eet evas ecore embryo edje efreet slitaz-menus curl \
    1.13 +xorg-libXcomposite libcrypto openssl alsa-lib xorg-libX11 xorg-libXau \
    1.14 +xorg-libXdmcp xorg-libXext"
    1.15 +BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev efreet-dev \
    1.16 +efreet curl-dev libcrypto-dev openssl-dev pam-dev"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 +WEB_SITE="http://www.enlightenment.org/"
    1.19 +WGET_URL="http://download.enlightenment.org/snapshots/2008-09-25/$TARBALL"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cd $src
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--infodir=/usr/share/info \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$PWD/_pkg install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/share
    1.39 +	# Use a modified sysactions.conf
    1.40 +	cp -a ../$SOURCE/stuff/etc $fs
    1.41 +
    1.42 +	cp -a $_pkg/usr/bin $fs/usr
    1.43 +	cp -a $_pkg/usr/lib $fs/usr
    1.44 +	cp -a $_pkg/usr/share/enlightenment $fs/usr/share
    1.45 +
    1.46 +	# Remove devel files *.a/*.la
    1.47 +	rm -rf $fs/usr/lib/$SOURCE/preload/*.*a
    1.48 +	rm -rf $fs/usr/lib/$SOURCE/modules/*/linux-gnu-i486/*.*a
    1.49 +
    1.50 +	# Rm backgrouds (1,6 Mb).
    1.51 +	rm -rf $fs/usr/share/enlightenment/data/backgrounds/*
    1.52 +}
    1.53 +
     2.1 --- a/enlightenment/receipt	Fri Apr 10 15:54:35 2009 +0000
     2.2 +++ b/enlightenment/receipt	Fri Apr 10 16:22:42 2009 +0000
     2.3 @@ -18,6 +18,7 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 +	sed -i 's|/pam_appl.h|/pam_appl.h.DUMMY|' configure.in
     2.8  	./configure \
     2.9  		--prefix=/usr \
    2.10  		--sysconfdir=/etc \