diff options
Diffstat (limited to 'app-misc/away')
-rw-r--r-- | app-misc/away/Manifest | 3 | ||||
-rw-r--r-- | app-misc/away/away-0.9.5-r2.ebuild | 39 | ||||
-rw-r--r-- | app-misc/away/metadata.xml | 5 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/away/Manifest b/app-misc/away/Manifest new file mode 100644 index 000000000000..2a4ef561993a --- /dev/null +++ b/app-misc/away/Manifest @@ -0,0 +1,3 @@ +DIST away-0.9.5.tar.bz2 16909 BLAKE2B 80bbdf50e565c94f37a51dffaf3650eee05c59c1e0ef499c15be13b7e8c8d90defa689b36489a532007d9b018cebb4c4ac9b791c60678dd34375d7ff286cae01 SHA512 9cb0ab5caf80e337ce524ec88ee0ffc5305080be807494ababd122d7c5a00b7e79711537d74d930eb3768a71a31156e9abe5e0d9d424a201a9af31aa1bbc1c2a +EBUILD away-0.9.5-r2.ebuild 785 BLAKE2B e515a7767185ff96de05b4e9aef5b014dc9e74d9c71977ae8f3f2b68cc1b1de300c3256da923af91979dd3b64c85c62f4f074012094caf60cc3a0469bb123df5 SHA512 c17b180d59c151d307ced058f3d5d13966c828c6bbe75a46cffa92f6bbfe4cbb8a9fa2f99d2ff9f0f428d6a5a1245c1df187b726fc7a932020e06a931b7788d7 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-misc/away/away-0.9.5-r2.ebuild b/app-misc/away/away-0.9.5-r2.ebuild new file mode 100644 index 000000000000..daf7c44d333d --- /dev/null +++ b/app-misc/away/away-0.9.5-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit pam toolchain-funcs flag-o-matic + +DESCRIPTION="Terminal locking program with few additional features" +HOMEPAGE="http://unbeatenpath.net/software/away/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" + +RDEPEND=">=sys-libs/pam-0.75" +DEPEND="${RDEPEND}" + +DOCS=( BUGS AUTHORS NEWS README TODO data/awayrc ) +src_prepare() { + default + sed -i -e '/-o \$(BINARY)/d' \ + -e 's:LIBS:LDLIBS:' \ + "${S}"/Makefile || die "Makefile fix failed" + +} + +src_compile() { + append-flags -pthread + + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + dobin away + doman doc/* + einstalldocs + pamd_mimic_system away auth +} diff --git a/app-misc/away/metadata.xml b/app-misc/away/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-misc/away/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |