add wmii window manager + all dependencies. Interesting excercise...
svn path=/nixpkgs/trunk/; revision=8338
This commit is contained in:
32
pkgs/development/libraries/libixp/builder.sh
Normal file
32
pkgs/development/libraries/libixp/builder.sh
Normal 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
|
||||
12
pkgs/development/libraries/libixp/libixp-0.3.nix
Normal file
12
pkgs/development/libraries/libixp/libixp-0.3.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user