wok-next rev 5632
Add: echinus
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu May 27 18:59:13 2010 +0000 (2010-05-27) |
parents | 261db34754f3 |
children | 321144cabc7b |
files | echinus/receipt echinus/stuff/config.mk |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/echinus/receipt Thu May 27 18:59:13 2010 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="echinus" 1.7 +VERSION="0.4.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="A window manager for X in the spirit of dwm" 1.10 +MAINTAINER="devl547@gmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.rootshell.be/~polachok/code/" 1.13 +WGET_URL="$WEB_SITE/$TARBALL" 1.14 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev" 1.15 +DEPENDS="xorg-libX11 xorg-libXft" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + cp ../stuff/config.mk config.mk 1.22 + make && 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/share 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + cp -a $_pkg/usr/share/examples $fs/usr/share 1.32 +} 1.33 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/echinus/stuff/config.mk Thu May 27 18:59:13 2010 +0000 2.3 @@ -0,0 +1,24 @@ 2.4 +# echinus wm version 2.5 +VERSION = 0.4.0 2.6 + 2.7 +# Customize below to fit your system 2.8 + 2.9 +# paths 2.10 +PREFIX = /usr/ 2.11 +MANPREFIX = ${PREFIX}/share/man 2.12 +CONF = /share/examples/echinus 2.13 + 2.14 +X11INC = /usr/X11R6/include 2.15 +X11LIB = /usr/X11R6/lib 2.16 + 2.17 +# includes and libs 2.18 +INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags xft` 2.19 +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft` 2.20 + 2.21 +# flags 2.22 +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DSYSCONFPATH=\"${PREFIX}/${CONF}\" 2.23 +LDFLAGS = -s ${LIBS} 2.24 + 2.25 +# XRandr (multihead support). Comment out to disable. 2.26 +CFLAGS += -DXRANDR=1 2.27 +LIBS += -lXrandr 2.28 \ No newline at end of file