Adding nix build instructions
This commit is contained in:
parent
3021e29b6c
commit
959f66099b
4
README
4
README
|
@ -1,4 +0,0 @@
|
||||||
OloNO is Not an Othello
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
Actually OloNO is an Othello game written in C with GTK+
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
OloNO is Not an Othello
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Actually OloNO is an Othello game written in C with GTK+
|
||||||
|
|
||||||
|
For its 10th anniversary, this program's build was [nixed](https://nixos.org/nix).
|
||||||
|
|
||||||
|
To build this program, you can either go the easy way, or the hard way:
|
||||||
|
|
||||||
|
- easy way: get nix, and run:
|
||||||
|
nix build -f default olono-x11
|
||||||
|
- hard way (for the X11 project):
|
||||||
|
- Run AUTO.sh
|
||||||
|
- Run configure
|
||||||
|
- Run make
|
||||||
|
- Hope nothing broke
|
||||||
|
|
||||||
|
Love and kisses
|
||||||
|
--
|
||||||
|
A much older dev
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
olono-x11 = pkgs.callPackage ./olono_X11 {};
|
||||||
|
|
||||||
|
}
|
|
@ -31,7 +31,7 @@ AC_PROG_RANLIB dnl This is required if any libraries are built in the packa
|
||||||
|
|
||||||
AC_STDC_HEADERS
|
AC_STDC_HEADERS
|
||||||
|
|
||||||
PKG_CHECK_MODULES(DEPS, libglade-2.0 libgnomeui-2.0 >= 1.110.0)
|
PKG_CHECK_MODULES([DEPS], [libglade-2.0 libgnomeui-2.0 >= 1.110.0])
|
||||||
AC_SUBST(DEPS_CFLAGS)
|
AC_SUBST(DEPS_CFLAGS)
|
||||||
AC_SUBST(DEPS_LIBS)
|
AC_SUBST(DEPS_LIBS)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ stdenv
|
||||||
|
, autoconf
|
||||||
|
, automake
|
||||||
|
, gnome2
|
||||||
|
, gtk2
|
||||||
|
, libtool
|
||||||
|
, pkgconfig
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "olono-x11";
|
||||||
|
buildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
gnome2.libglade
|
||||||
|
gnome2.libgnomeui
|
||||||
|
gtk2
|
||||||
|
libtool
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
src = ./.;
|
||||||
|
preConfigure = ''
|
||||||
|
./AUTO.sh
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue