wok annotate 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
rev   line source
pankso@263 1 # SliTaz package receipt.
pankso@263 2
pankso@263 3 PACKAGE="slim"
pankso@263 4 VERSION="1.3.0"
pankso@263 5 CATEGORY="x-window"
pankso@263 6 SHORT_DESC="Desktop-independent graphical login manager for X11."
pankso@263 7 MAINTAINER="pankso@slitaz.org"
pankso@263 8 DEPENDS="jpeg libpng"
pankso@263 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@263 10 WEB_SITE="http://slim.berlios.de"
pankso@263 11 WGET_URL="http://download.berlios.de/slim/$TARBALL"
pankso@263 12
pankso@263 13 # Rules to configure and make the package.
pankso@263 14 compile_rules()
pankso@263 15 {
pankso@263 16 cd $src
pankso@263 17 sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
pankso@263 18 sed -i "s|/usr/X11R6/|/usr/|g" Makefile
pankso@263 19 make
pankso@263 20 }
pankso@263 21
pankso@263 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@263 23 genpkg_rules()
pankso@263 24 {
pankso@263 25 mkdir -p $fs/usr/bin $fs/usr/share/slim
pankso@263 26 cp -a $src/slim $fs/usr/bin
pankso@263 27
pankso@263 28 # Config file, rc script and SliTaz theme.
pankso@263 29 cp -a stuff/etc $fs
pankso@263 30 cp -a stuff/themes $fs/usr/share/slim
pankso@263 31 }
pankso@263 32