gnustep: move to pkgs/desktops/gnustep
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{ fetchurl, base, back, gsmakeDerivation, gui }:
|
||||
let
|
||||
version = "1.2.22";
|
||||
in
|
||||
gsmakeDerivation {
|
||||
name = "gorm-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.gnustep.org/pub/gnustep/dev-apps/gorm-${version}.tar.gz";
|
||||
sha256 = "1mq5n65xd9bc4kppx19iijsgpz4crvhg7bfwbi9k78j159vclnmi";
|
||||
};
|
||||
buildInputs = [ base back gui ];
|
||||
|
||||
meta = {
|
||||
description = "Graphical Object Relationship Modeller is an easy-to-use interface designer for GNUstep";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
diff -ru gorm-1.2.20/GNUmakefile gorm-1.2.20.patched/GNUmakefile
|
||||
--- gorm-1.2.20/GNUmakefile 2010-05-30 12:55:26.000000000 +0600
|
||||
+++ gorm-1.2.20.patched/GNUmakefile 2014-12-10 22:21:18.000000000 +0600
|
||||
@@ -24,6 +24,23 @@
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
+ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
||||
+ ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
+ $(warning )
|
||||
+ $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
||||
+ $(warning Perhaps gnustep-make is not properly installed,)
|
||||
+ $(warning so gnustep-config is not in your PATH.)
|
||||
+ $(warning )
|
||||
+ $(warning Your PATH is currently $(PATH))
|
||||
+ $(warning )
|
||||
+ endif
|
||||
+endif
|
||||
+
|
||||
+ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
+ $(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
||||
+endif
|
||||
+
|
||||
PACKAGE_NAME = gorm
|
||||
export PACKAGE_NAME
|
||||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
Reference in New Issue
Block a user