summaryrefslogtreecommitdiff
path: root/recipes/xdemineur/xdemineur-2.1.1
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xdemineur/xdemineur-2.1.1')
-rw-r--r--recipes/xdemineur/xdemineur-2.1.1/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/xdemineur/xdemineur-2.1.1/Makefile b/recipes/xdemineur/xdemineur-2.1.1/Makefile
new file mode 100644
index 0000000000..10d34b2477
--- /dev/null
+++ b/recipes/xdemineur/xdemineur-2.1.1/Makefile
@@ -0,0 +1,29 @@
+PREFIX = /usr
+PACKAGE = xdemineur
+DEBUG = no
+CVSBUILD = no
+VERSION = 0.28
+
+MEMBERS = demineur main xdemineur util
+LINGUAS =
+
+PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS)
+PACKAGE_CFLAGS += $(STANDARD_CFLAGS)
+PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) -lX11 -lXpm
+
+DEPS = $(patsubst %,%.d,$(MEMBERS))
+OBJS = $(patsubst %,%.o,$(MEMBERS))
+SOURCES = $(patsubst %,%.c,$(MEMBERS))
+
+all: xdemineur
+
+xdemineur: $(OBJS)
+ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
+
+install: all
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install -s xdemineur $(DESTDIR)$(PREFIX)/bin/xdemineur
+ install -D -m 644 xdemineur.xpm $(DESTDIR)$(PREFIX)/share/pixmaps/xdemineur.xpm
+ install -D -m 644 familiar/xdemineur.png $(DESTDIR)$(PREFIX)/share/pixmaps/xdemineur.png
+ install -d $(DESTDIR)$(PREFIX)/share/applications
+ install -m 644 familiar/$(PACKAGE).desktop $(DESTDIR)$(PREFIX)/share/applications/