diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-08-13 15:59:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-08-13 15:59:24 +0100 |
commit | fdc97647f9837884d5b729a8000d52bf2ecf5858 (patch) | |
tree | 58f284de46b0b797e26a9b693832b246f7a5c68c /sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild | |
parent | 1358adf41d192d24d67fbde47262abe47da56892 (diff) |
redcore 1708 gamma crucis : bump ebuilds
Diffstat (limited to 'sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild')
-rw-r--r-- | sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild b/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild new file mode 100644 index 00000000..2ced1f05 --- /dev/null +++ b/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Sabayon +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="LSB version query program" +HOMEPAGE="http://www.linuxbase.org/" +SRC_URI="mirror://sourceforge/lsb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="" + +# Perl isn't needed at runtime, it is just used to generate the man page. +DEPEND="dev-lang/perl" +RDEPEND="" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${PN}-redcore-version.patch" +} + +src_install() { + emake \ + prefix="${D}/usr" \ + mandir="${D}/usr/share/man" \ + install \ + || die "emake install failed" + + mkdir -p "${D}/etc" + cat > "${D}/etc/lsb-release" <<- EOF + DISTRIB_ID="Redcore" + DISTRIB_RELEASE="1708" + DISTRIB_CODENAME="Gamma Crucis" + DISTRIB_DESCRIPTION="Redcore 1708 Gamma Crucis" + EOF +} |