wok-4.x diff slim/receipt @ rev 263

Add slim X login manager + deps
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 24 20:48:39 2008 +0100 (2008-02-24)
parents
children 610a9d47f7d6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slim/receipt	Sun Feb 24 20:48:39 2008 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slim"
     1.7 +VERSION="1.3.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Desktop-independent graphical login manager for X11."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="jpeg libpng"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://slim.berlios.de"
    1.14 +WGET_URL="http://download.berlios.de/slim/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
    1.21 +	sed -i "s|/usr/X11R6/|/usr/|g" Makefile
    1.22 +	make
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/bin $fs/usr/share/slim
    1.29 +	cp -a $src/slim $fs/usr/bin
    1.30 +	
    1.31 +	# Config file, rc script and SliTaz theme.
    1.32 +	cp -a stuff/etc $fs
    1.33 +	cp -a stuff/themes $fs/usr/share/slim
    1.34 +}
    1.35 +