updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hpanel / hpanel-0.3.2.diff
blob8eb2871fd4a55090f8b77782b018958a52174428
1 diff -Naur hpanel-0.3.2~/Makefile hpanel-0.3.2/Makefile
2 --- hpanel-0.3.2~/Makefile 2009-01-19 02:04:57.000000000 -0600
3 +++ hpanel-0.3.2/Makefile 2009-01-19 02:05:08.000000000 -0600
4 @@ -1,13 +1,11 @@
5 CC=cc
6 -CFLAGS= -O2 -I/usr/X11R6/include -DHAVE_XPM -DXFT -DCLOCK
7 -LDFLAGS= -L/usr/X11R6/lib -lX11 -lXpm -lXft
8 +CFLAGS+=-g -O2 -I/usr/include/freetype2 -DHAVE_XPM -DXFT -DCLOCK
9 +LDFLAGS+=-g -L/usr/lib -lXpm -lXft -lXrender -lfontconfig -lfreetype -lz -lX11
10 PROGNAME=hpanel
12 $(PROGNAME): Makefile hpanel.c hpanel.h icon.xpm
13 $(CC) $(CFLAGS) $(LDFLAGS) hpanel.c -o $(PROGNAME)
14 - @ls -l $(PROGNAME)
15 - strip $(PROGNAME)
16 - @ls -l $(PROGNAME)
18 install:
19 - install $(PROGNAME) /usr/local/bin
20 + install -D -m 775 $(PROGNAME) $(DESTDIR)/usr/bin/$(PROGNAME)
21 + install -D -m 644 COPYING $(DESTDIR)/usr/share/licenses/$(PROGNAME)/COPYING