From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QkCEa-0001Zj-MX for garchives@archives.gentoo.org; Fri, 22 Jul 2011 09:41:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93DC121C0DB; Fri, 22 Jul 2011 09:41:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 637FF21C0DB for ; Fri, 22 Jul 2011 09:41:21 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7AF21B4020 for ; Fri, 22 Jul 2011 09:41:20 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2271) id DA06320054; Fri, 22 Jul 2011 09:41:18 +0000 (UTC) From: "Kacper Kowalik (xarthisius)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, xarthisius@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/i3lock/files: i3lock-2.1-makefile.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: i3lock-2.1-makefile.patch X-VCS-Directories: x11-misc/i3lock/files X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik Content-Type: text/plain; charset=utf8 Message-Id: <20110722094118.DA06320054@flycatcher.gentoo.org> Date: Fri, 22 Jul 2011 09:41:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1bc653deb12c62c6b0c6677d5801c6f4 xarthisius 11/07/22 09:41:18 Added: i3lock-2.1-makefile.patch Log: Initial import. Ebuild written by me =20 (Portage version: 2.2.0_alpha45/cvs/Linux x86_64) Revision Changes Path 1.1 x11-misc/i3lock/files/i3lock-2.1-makefile.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/i3lock/fi= les/i3lock-2.1-makefile.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/i3lock/fi= les/i3lock-2.1-makefile.patch?rev=3D1.1&content-type=3Dtext/plain Index: i3lock-2.1-makefile.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- a/Makefile +++ b/Makefile @@ -10,30 +10,30 @@ CFLAGS +=3D -std=3Dc99 CFLAGS +=3D -pipe CFLAGS +=3D -Wall -CFLAGS +=3D -D_GNU_SOURCE +CPPFLAGS +=3D -D_GNU_SOURCE ifndef NOLIBCAIRO CFLAGS +=3D $(shell pkg-config --cflags cairo xcb-keysyms xcb-dpms) -LDFLAGS +=3D $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-im= age) +LIBS +=3D $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-image= ) else CFLAGS +=3D -DNOLIBCAIRO CFLAGS +=3D $(shell pkg-config --cflags xcb-keysyms xcb-dpms) -LDFLAGS +=3D $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image) +LIBS +=3D $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image) endif -LDFLAGS +=3D -lpam +LIBS +=3D -lpam =20 FILES:=3D$(wildcard *.c) FILES:=3D$(FILES:.c=3D.o) =20 VERSION:=3D2.1 GIT_VERSION:=3D"2.1 (2011-03-13)" -CFLAGS +=3D -DVERSION=3D\"${GIT_VERSION}\" +CPPFLAGS +=3D -DVERSION=3D\"${GIT_VERSION}\" =20 .PHONY: install clean uninstall =20 all: i3lock =20 i3lock: ${FILES} - $(CC) -o $@ $^ $(LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) =20 clean: rm -f i3lock ${FILES} i3lock-${VERSION}.tar.gz @@ -41,8 +41,12 @@ install: all $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin $(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/pam.d + $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1 + $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/doc/i3lock-${VERSION} $(INSTALL) -m 755 i3lock $(DESTDIR)$(PREFIX)/bin/i3lock $(INSTALL) -m 644 i3lock.pam $(DESTDIR)$(SYSCONFDIR)/pam.d/i3lock + $(INSTALL) -m 644 i3lock.1 $(DESTDIR)$(PREFIX)/share/man/man1 + $(INSTALL) -m 644 README $(DESTDIR)$(PREFIX)/share/doc/i3lock-${VERSION= } =20 uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/i3lock