dev-libs/shhopt - 1.1.7 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/shhopt-1.1.7

Package Information

Description:
library for parsing command line options
Homepage:
https://shh.thathost.com/pub-unix/
License:
Artistic

Ebuild Details

Version EAPI Keywords Slot
1.1.7 7 amd64 ppc x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="library for parsing command line options"
HOMEPAGE="https://shh.thathost.com/pub-unix/"
SRC_URI="https://shh.thathost.com/pub-unix/files/${P}.tar.gz"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 ppc x86"

PATCHES=( "${FILESDIR}"/${P}-build.patch )

src_compile() {
	emake CC="$(tc-getCC)"
}

src_install() {
	ln -s libshhopt.so.${PV} libshhopt.so || die
	ln -s libshhopt.so.${PV} libshhopt.so.${PV:0:1} || die
	dolib.so libshhopt.so*
	doheader shhopt.h
	dodoc ChangeLog CREDITS README TODO
}

Inherited Eclasses

Manifest for 1.1.7

Type File Size Source URLs
DIST shhopt-1.1.7.tar.gz 9923 bytes https://shh.thathost.com/pub-unix/files/shhopt-1.1.7.tar.gz