diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-06-10 05:19:03 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-06-10 05:19:03 +0000 |
commit | 4a7d5dc6d08c703593953447ee9cb97d65644f2b (patch) | |
tree | 2301ae4022a0a5047e72639f55aeb6c1f9cd23ba /app-misc/physlock | |
parent | Fix issue where /usr/ccs/bin/make would not find make.rules; obey CFLAGS, use... (diff) | |
download | gentoo-2-4a7d5dc6d08c703593953447ee9cb97d65644f2b.tar.gz gentoo-2-4a7d5dc6d08c703593953447ee9cb97d65644f2b.tar.bz2 gentoo-2-4a7d5dc6d08c703593953447ee9cb97d65644f2b.zip |
Version bump.
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-misc/physlock')
-rw-r--r-- | app-misc/physlock/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/physlock/files/physlock-0.4.4-makefile.patch | 16 | ||||
-rw-r--r-- | app-misc/physlock/physlock-0.4.4.ebuild | 24 |
3 files changed, 48 insertions, 2 deletions
diff --git a/app-misc/physlock/ChangeLog b/app-misc/physlock/ChangeLog index 60fa60f30ca5..18acbc0ad2da 100644 --- a/app-misc/physlock/ChangeLog +++ b/app-misc/physlock/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/physlock -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/physlock/ChangeLog,v 1.1 2012/10/24 03:51:45 radhermit Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/physlock/ChangeLog,v 1.2 2013/06/10 05:19:03 radhermit Exp $ + +*physlock-0.4.4 (10 Jun 2013) + + 10 Jun 2013; Tim Harder <radhermit@gentoo.org> +physlock-0.4.4.ebuild, + +files/physlock-0.4.4-makefile.patch: + Version bump. *physlock-0.4.3 (24 Oct 2012) diff --git a/app-misc/physlock/files/physlock-0.4.4-makefile.patch b/app-misc/physlock/files/physlock-0.4.4-makefile.patch new file mode 100644 index 000000000000..4491e0596670 --- /dev/null +++ b/app-misc/physlock/files/physlock-0.4.4-makefile.patch @@ -0,0 +1,16 @@ +--- physlock-0.4.4/Makefile ++++ physlock-0.4.4/Makefile +@@ -2,10 +2,10 @@ + + VERSION = 0.4.4 + +-CC = gcc ++CC ?= gcc + PREFIX = /usr/local +-CFLAGS = -Wall -pedantic -DVERSION=\"$(VERSION)\" +-LDFLAGS = ++CFLAGS += -Wall -pedantic -DVERSION=\"$(VERSION)\" ++LDFLAGS += + LIBS = -lcrypt + + SRC = auth.c main.c options.c util.c vt.c diff --git a/app-misc/physlock/physlock-0.4.4.ebuild b/app-misc/physlock/physlock-0.4.4.ebuild new file mode 100644 index 000000000000..3047b0ead00d --- /dev/null +++ b/app-misc/physlock/physlock-0.4.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/physlock/physlock-0.4.4.ebuild,v 1.1 2013/06/10 05:19:03 radhermit Exp $ + +EAPI=5 + +inherit toolchain-funcs eutils + +DESCRIPTION="lightweight Linux console locking tool" +HOMEPAGE="https://github.com/muennich/physlock" +SRC_URI="https://github.com/muennich/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install +} |