add wmii window manager + all dependencies. Interesting excercise...

svn path=/nixpkgs/trunk/; revision=8338
This commit is contained in:
Armijn Hemel
2007-03-18 23:58:22 +00:00
parent d86846bb6a
commit 2737cd9a8e
5 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
source $stdenv/setup
## oh, this is ugly. It would be way better to fix the Makefile instead
postUnpack() {
cd $sourceRoot
cat > config.mk <<END
VERSION = 0.3
PREFIX=
MANPREFIX=/share/man
INCS = -I.
LIBS = -L. -lc
LDFLAGS = \${LIBS}
CFLAGS = -g \${INCS} -DVERSION=\"\${VERSION}\"
SOFLAGS = -fPIC -shared
AR = ar cr
RANLIB = ranlib
END
echo -e "PREFIX=\nDESTDIR=${out}" >> config.mk
cd ..
}
postUnpack=postUnpack
genericBuild

View File

@@ -0,0 +1,12 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libixp-0.3";
description = "libixp is a stand-alone client/server 9P library including ixpc client which behaves like wmiir in the past. Its server api is based heavily on Plan 9's lib9p";
builder = ./builder.sh;
src = fetchurl {
url = http://www.suckless.org/snaps/libixp-0.3.tar.gz;
md5 = "d341eb9c8f5d233aba5aa2ea8295ca91";
};
}