diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-31 15:45:17 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-31 15:45:17 +0000 |
commit | 3290e329584a2fe98f2024d5b1dbbe9431b72016 (patch) | |
tree | 767d65932904ef0461b242a1947912e9ae8f4065 /x11-misc/oroborus-desklaunch/files | |
parent | Install icon correctly this time. (diff) | |
download | gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.tar.gz gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.tar.bz2 gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.zip |
New ebuild for oroborus-desklaunch, formerly part of x11-wm/oroborus-extras
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/oroborus-desklaunch/files')
-rw-r--r-- | x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff b/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff new file mode 100644 index 000000000000..a6d833bcfd3d --- /dev/null +++ b/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff @@ -0,0 +1,39 @@ +--- Makefile ++++ Makefile +@@ -1,29 +1,26 @@ +-CC = gcc +-CFLAGS = -g -O2 -Wall +-XROOT = /usr/X11R6 +-INCLUDES = -I$(XROOT)/include +-LIBS = -lX11 -lXext -lXpm +-LDPATH = -L$(XROOT)/lib ++INCLUDES = `pkg-config --cflags x11 xext xpm` ++LIBS = `pkg-config --libs x11 xext xpm` + +-DESTDIR = + PROG = desklaunch + PREFIX = $(DESTDIR)/usr ++MANDIR = $(PREFIX)/share/man + RCFILE = .$(PROG)rc + DEFINES = -DRCFILE=\"$(RCFILE)\" #-DDEBUG + + OBJS = $(PROG).o ++MAN = debian/$(PROG).1 + + all: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LDPATH) $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + + $(OBJS): %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@ + + install: all +- install $(PROG) $(PREFIX)/bin +- install -d $(PREFIX)/share/$(PROG) ++ install -D -m 755 $(PROG) $(PREFIX)/bin/$(PROG) ++ install -D -m 644 $(MAN) $(MANDIR)/man1/$(PROG).1 + + uninstall: + rm -f $(PREFIX)/bin/$(PROG) |